home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cool / cool.lha / ice / pisces / config / rules.imk < prev    next >
Encoding:
Text File  |  1991-09-04  |  101.6 KB  |  3,340 lines

  1. /*****************************************************************************
  2. //
  3. // Copyright (C) 1991 Texas Instruments Incorporated.
  4. //
  5. // Permission is granted to any individual or institution to use, copy, modify,
  6. // and distribute this software, provided that this complete copyright and
  7. // permission notice is maintained, intact, in all copies and supporting
  8. // documentation.
  9. //
  10. // Texas Instruments Incorporated provides this software "as is" without
  11. // express or implied warranty.
  12. //
  13.  *****************************************************************************
  14.  *
  15.  *    Author: Martin Neath
  16.  *    Filename: imake.rul
  17.  *    $Revision: $ $Date: $
  18.  *    Module: build/config
  19.  *    Purpose: Imake generic rules file
  20.  *      Abstract:
  21.  *        - The "imake.rul" file contains machine-independent rules
  22.  *          for compiling, linking, etc.
  23.  *
  24.  *        - Do *NOT* change values in this file -- change them in the
  25.  *          system configuration files
  26.  *
  27.  *        - Surround any new default rules with #ifndef/#endif to
  28.  *          allow configuration files to override definitions
  29.  *
  30.  *        - Rules are defined as C-preprocessor macros with continuation
  31.  *          characters at the end of each line
  32.  *
  33.  *        - The rules contained in this file are a modified subset of
  34.  *          those from the X11R4 Imake.tmpl file.
  35.  *
  36.  *      Related Files: site.def, project.imk, imake.imk
  37.  *    Macros Defined:
  38.  *
  39.  *        All()                - Simple target
  40.  *        All[1-24]()            - Support for upto 24 targets
  41.  *        RCSCheckOut()            - Checkout files from RCS
  42.  *        LinkIncludes()            - Link headers to $(INCDIR)
  43.  *        NormalCObject()            - Normal C compile rule
  44.  *        NormalCPlusObject()        - Normal C++ compile rule
  45.  *        DebugCObject()            - Debug C compile rule
  46.  *        DebugCPlusObject()        - Debug C++ compile rule
  47.  *        TestCObject()            - Test code C compile rule
  48.  *        TestCPlusObject()        - Test code C++ compile rule
  49.  *        OptimizeCObject()        - Optimize C compile rule
  50.  *        OptimizeCPlusObject()        - Optimize C++ compile rule
  51.  *        LibraryName(name)        - Add/Update $(OBJS) to library
  52.  *        QuoteName(name)            - Add quotes around file name
  53.  *        VersionName()            - Generate RCS version name
  54.  *        InstallProgram(program,dest)    - Install program in directory
  55.  *        Clobber()            - Remove object/scratch files
  56.  *        RemoveProgram(program)        - Delete final program
  57.  *        CleanLibrary(library)        - Delete library archive
  58.  *        Clean(files)            - Delete objects
  59.  *        Test()                - Compile regression tests
  60.  *        CLexScanner(scanner)        - User-level LEX rule C file
  61.  *        CYaccParser(parser)        - User-level YACC rule C file
  62.  *        CPlusLexScanner(scanner)    - User-level LEX rule C++ file
  63.  *        CPlusYaccParser(parser)        - User-level YACC rule C++ file
  64.  *        AuxillaryCProgram(program)    - Additional C program rule
  65.  *        AuxillaryCPlusProgram(program)    - Additional C++ program rule
  66.  *        CProgram(program)        - Link $(OBJS) into C program
  67.  *        CProgram[1-24](program)        - Support upto 24 C targets
  68.  *        CPlusProgram(program)        - Link $(OBJS) into C++ program
  69.  *        CPlusProgram1(program)        - Support upto 24 C++ targets
  70.  *        Library(archive,objlist)    - Add objlist to library
  71.  *        RevUp()                - Revup to next major revision
  72.  *        MakefileT()            - Simple makefile target
  73.  *        MakefileSubdirs(dirs)        - Recursively build makefiles
  74.  *        AllSubdirs(dirs)        - Recursively make all 
  75.  *        IncludeSubdirs(dirs)        - Recursively make include
  76.  *        InstallSubdirs(dirs)        - Recursively make install
  77.  *        RevupSubdirs(dirs)        - Recursively make revup
  78.  *        CleanSubdirs(dirs)        - Recursively make clean
  79.  *        ClobberSubdirs(dirs)        - Recursively make clobber
  80.  *        DependSubdirs(dirs)        - Recursively make depend
  81.  *
  82.  *    Creation Date: 05/11/90
  83.  *    Changed by\Date\Reason:
  84.  *
  85.  *****************************************************************************/
  86.  
  87. #ifndef Headers1
  88. #define Headers1()\
  89. HDRS = $(HDRS1)
  90. #endif
  91.  
  92. #ifndef Headers2
  93. #define Headers2()\
  94. Headers1() $(HDRS2)
  95. #endif
  96.  
  97. #ifndef Headers3
  98. #define Headers3()\
  99. Headers2() $(HDRS3)
  100. #endif
  101.  
  102. #ifndef Headers4
  103. #define Headers4()\
  104. Headers3() $(HDRS4)
  105. #endif
  106.  
  107. #ifndef Headers5
  108. #define Headers5()\
  109. Headers4() $(HDRS5)
  110. #endif
  111.  
  112. #ifndef Headers6
  113. #define Headers6()\
  114. Headers5() $(HDRS6)
  115. #endif
  116.  
  117. #ifndef Headers7
  118. #define Headers7()\
  119. Headers6() $(HDRS7)
  120. #endif
  121.  
  122. #ifndef Headers8
  123. #define Headers8()\
  124. Headers7() $(HDRS8)
  125. #endif
  126.  
  127. #ifndef Headers9
  128. #define Headers9()\
  129. Headers8() $(HDRS9)
  130. #endif
  131.  
  132. #ifndef Headers10
  133. #define Headers10()\
  134. Headers9() $(HDRS10)
  135. #endif
  136.  
  137. #ifndef Headers11
  138. #define Headers11()\
  139. Headers10() $(HDRS11)
  140. #endif
  141.  
  142. #ifndef Headers12
  143. #define Headers12()\
  144. Headers11() $(HDRS12)
  145. #endif
  146.  
  147. #ifndef Headers13
  148. #define Headers13()\
  149. Headers12() $(HDRS13)
  150. #endif
  151.  
  152. #ifndef Headers14
  153. #define Headers14()\
  154. Headers13() $(HDRS14)
  155. #endif
  156.  
  157. #ifndef Headers15
  158. #define Headers15()\
  159. Headers14() $(HDRS15)
  160. #endif
  161.  
  162. #ifndef Headers16
  163. #define Headers16()\
  164. Headers15() $(HDRS16)
  165. #endif
  166.  
  167. #ifndef Headers17
  168. #define Headers17()\
  169. Headers16() $(HDRS17)
  170. #endif
  171.  
  172. #ifndef Headers18
  173. #define Headers18()\
  174. Headers17() $(HDRS18)
  175. #endif
  176.  
  177. #ifndef Headers19
  178. #define Headers19()\
  179. Headers18() $(HDRS19)
  180. #endif
  181.  
  182. #ifndef Headers20
  183. #define Headers20()\
  184. Headers19() $(HDRS20)
  185. #endif
  186.  
  187. #ifndef Headers21
  188. #define Headers21()\
  189. Headers20() $(HDRS21)
  190. #endif
  191.  
  192. #ifndef Headers22
  193. #define Headers22()\
  194. Headers21() $(HDRS22)
  195. #endif
  196.  
  197. #ifndef Headers23
  198. #define Headers23()\
  199. Headers22() $(HDRS23)
  200. #endif
  201.  
  202. #ifndef Headers24
  203. #define Headers24()\
  204. Headers23() $(HDRS24)
  205. #endif
  206.  
  207. #ifndef MiscFiles1
  208. #define MiscFiles1()\
  209. MISCFILES = $(HDRS1)
  210. #endif
  211.  
  212. #ifndef MiscFiles2
  213. #define MiscFiles2()\
  214. MiscFiles1() $(MISC2)
  215. #endif
  216.  
  217. #ifndef MiscFiles3
  218. #define MiscFiles3()\
  219. MiscFiles2() $(MISC3)
  220. #endif
  221.  
  222. #ifndef MiscFiles4
  223. #define MiscFiles4()\
  224. MiscFiles3() $(MISC4)
  225. #endif
  226.  
  227. #ifndef MiscFiles5
  228. #define MiscFiles5()\
  229. MiscFiles4() $(MISC5)
  230. #endif
  231.  
  232. #ifndef MiscFiles6
  233. #define MiscFiles6()\
  234. MiscFiles5() $(MISC6)
  235. #endif
  236.  
  237. #ifndef MiscFiles7
  238. #define MiscFiles7()\
  239. MiscFiles6() $(MISC7)
  240. #endif
  241.  
  242. #ifndef MiscFiles8
  243. #define MiscFiles8()\
  244. MiscFiles7() $(MISC8)
  245. #endif
  246.  
  247. #ifndef MiscFiles9
  248. #define MiscFiles9()\
  249. MiscFiles8() $(MISC9)
  250. #endif
  251.  
  252. #ifndef MiscFiles10
  253. #define MiscFiles10()\
  254. MiscFiles9() $(MISC10)
  255. #endif
  256.  
  257. #ifndef MiscFiles11
  258. #define MiscFiles11()\
  259. MiscFiles10() $(MISC11)
  260. #endif
  261.  
  262. #ifndef MiscFiles12
  263. #define MiscFiles12()\
  264. MiscFiles11() $(MISC12)
  265. #endif
  266.  
  267. #ifndef MiscFiles13
  268. #define MiscFiles13()\
  269. MiscFiles12() $(MISC13)
  270. #endif
  271.  
  272. #ifndef MiscFiles14
  273. #define MiscFiles14()\
  274. MiscFiles13() $(MISC14)
  275. #endif
  276.  
  277. #ifndef MiscFiles15
  278. #define MiscFiles15()\
  279. MiscFiles14() $(MISC15)
  280. #endif
  281.  
  282. #ifndef MiscFiles16
  283. #define MiscFiles16()\
  284. MiscFiles15() $(MISC16)
  285. #endif
  286.  
  287. #ifndef MiscFiles17
  288. #define MiscFiles17()\
  289. MiscFiles16() $(MISC17)
  290. #endif
  291.  
  292. #ifndef MiscFiles18
  293. #define MiscFiles18()\
  294. MiscFiles17() $(MISC18)
  295. #endif
  296.  
  297. #ifndef MiscFiles19
  298. #define MiscFiles19()\
  299. MiscFiles18() $(MISC19)
  300. #endif
  301.  
  302. #ifndef MiscFiles20
  303. #define MiscFiles20()\
  304. MiscFiles19() $(MISC20)
  305. #endif
  306.  
  307. #ifndef MiscFiles21
  308. #define MiscFiles21()\
  309. MiscFiles20() $(MISC21)
  310. #endif
  311.  
  312. #ifndef MiscFiles22
  313. #define MiscFiles22()\
  314. MiscFiles21() $(MISC22)
  315. #endif
  316.  
  317. #ifndef MiscFiles23
  318. #define MiscFiles23()\
  319. MiscFiles22() $(MISC23)
  320. #endif
  321.  
  322. #ifndef MiscFiles24
  323. #define MiscFiles24()\
  324. MiscFiles23() $(MISC24)
  325. #endif
  326.  
  327. #ifndef Sources1
  328. #define Sources1()\
  329. SRCS = $(SRCS1)
  330. #endif
  331.  
  332. #ifndef Sources2
  333. #define Sources2()\
  334. Sources1() $(SRCS2)
  335. #endif
  336.  
  337. #ifndef Sources3
  338. #define Sources3()\
  339. Sources2() $(SRCS3)
  340. #endif
  341.  
  342. #ifndef Sources4
  343. #define Sources4()\
  344. Sources3() $(SRCS4)
  345. #endif
  346.  
  347. #ifndef Sources5
  348. #define Sources5()\
  349. Sources4() $(SRCS5)
  350. #endif
  351.  
  352. #ifndef Sources6
  353. #define Sources6()\
  354. Sources5() $(SRCS6)
  355. #endif
  356.  
  357. #ifndef Sources7
  358. #define Sources7()\
  359. Sources6() $(SRCS7)
  360. #endif
  361.  
  362. #ifndef Sources8
  363. #define Sources8()\
  364. Sources7() $(SRCS8)
  365. #endif
  366.  
  367. #ifndef Sources9
  368. #define Sources9()\
  369. Sources8() $(SRCS9)
  370. #endif
  371.  
  372. #ifndef Sources10
  373. #define Sources10()\
  374. Sources9() $(SRCS10)
  375. #endif
  376.  
  377. #ifndef Sources11
  378. #define Sources11()\
  379. Sources10() $(SRCS11)
  380. #endif
  381.  
  382. #ifndef Sources12
  383. #define Sources12()\
  384. Sources11() $(SRCS12)
  385. #endif
  386.  
  387. #ifndef Sources13
  388. #define Sources13()\
  389. Sources12() $(SRCS13)
  390. #endif
  391.  
  392. #ifndef Sources14
  393. #define Sources14()\
  394. Sources13() $(SRCS14)
  395. #endif
  396.  
  397. #ifndef Sources15
  398. #define Sources15()\
  399. Sources14() $(SRCS15)
  400. #endif
  401.  
  402. #ifndef Sources16
  403. #define Sources16()\
  404. Sources15() $(SRCS16)
  405. #endif
  406.  
  407. #ifndef Sources17
  408. #define Sources17()\
  409. Sources16() $(SRCS17)
  410. #endif
  411.  
  412. #ifndef Sources18
  413. #define Sources18()\
  414. Sources17() $(SRCS18)
  415. #endif
  416.  
  417. #ifndef Sources19
  418. #define Sources19()\
  419. Sources18() $(SRCS19)
  420. #endif
  421.  
  422. #ifndef Sources20
  423. #define Sources20()\
  424. Sources19() $(SRCS20)
  425. #endif
  426.  
  427. #ifndef Sources21
  428. #define Sources21()\
  429. Sources20() $(SRCS21)
  430. #endif
  431.  
  432. #ifndef Sources22
  433. #define Sources22()\
  434. Sources21() $(SRCS22)
  435. #endif
  436.  
  437. #ifndef Sources23
  438. #define Sources23()\
  439. Sources22() $(SRCS23)
  440. #endif
  441.  
  442. #ifndef Sources24
  443. #define Sources24()\
  444. Sources23() $(SRCS24)
  445. #endif
  446.  
  447. #ifndef Objects1
  448. #define Objects1()\
  449. OBJS = $(OBJS1)
  450. #endif
  451.  
  452. #ifndef Objects2
  453. #define Objects2()\
  454. Objects1() $(OBJS2)
  455. #endif
  456.  
  457. #ifndef Objects3
  458. #define Objects3()\
  459. Objects2() $(OBJS3)
  460. #endif
  461.  
  462. #ifndef Objects4
  463. #define Objects4()\
  464. Objects3() $(OBJS4)
  465. #endif
  466.  
  467. #ifndef Objects5
  468. #define Objects5()\
  469. Objects4() $(OBJS5)
  470. #endif
  471.  
  472. #ifndef Objects6
  473. #define Objects6()\
  474. Objects5() $(OBJS6)
  475. #endif
  476.  
  477. #ifndef Objects7
  478. #define Objects7()\
  479. Objects6() $(OBJS7)
  480. #endif
  481.  
  482. #ifndef Objects8
  483. #define Objects8()\
  484. Objects7() $(OBJS8)
  485. #endif
  486.  
  487. #ifndef Objects9
  488. #define Objects9()\
  489. Objects8() $(OBJS9)
  490. #endif
  491.  
  492. #ifndef Objects10
  493. #define Objects10()\
  494. Objects9() $(OBJS10)
  495. #endif
  496.  
  497. #ifndef Objects11
  498. #define Objects11()\
  499. Objects10() $(OBJS11)
  500. #endif
  501.  
  502. #ifndef Objects12
  503. #define Objects12()\
  504. Objects11() $(OBJS12)
  505. #endif
  506.  
  507. #ifndef Objects13
  508. #define Objects13()\
  509. Objects12() $(OBJS13)
  510. #endif
  511.  
  512. #ifndef Objects14
  513. #define Objects14()\
  514. Objects13() $(OBJS14)
  515. #endif
  516.  
  517. #ifndef Objects15
  518. #define Objects15()\
  519. Objects14() $(OBJS15)
  520. #endif
  521.  
  522. #ifndef Objects16
  523. #define Objects16()\
  524. Objects15() $(OBJS16)
  525. #endif
  526.  
  527. #ifndef Objects17
  528. #define Objects17()\
  529. Objects16() $(OBJS17)
  530. #endif
  531.  
  532. #ifndef Objects18
  533. #define Objects18()\
  534. Objects17() $(OBJS18)
  535. #endif
  536.  
  537. #ifndef Objects19
  538. #define Objects19()\
  539. Objects18() $(OBJS19)
  540. #endif
  541.  
  542. #ifndef Objects20
  543. #define Objects20()\
  544. Objects19() $(OBJS20)
  545. #endif
  546.  
  547. #ifndef Objects21
  548. #define Objects21()\
  549. Objects20() $(OBJS21)
  550. #endif
  551.  
  552. #ifndef Objects22
  553. #define Objects22()\
  554. Objects21() $(OBJS22)
  555. #endif
  556.  
  557. #ifndef Objects23
  558. #define Objects23()\
  559. Objects22() $(OBJS23)
  560. #endif
  561.  
  562. #ifndef Objects24
  563. #define Objects24()\
  564. Objects23() $(OBJS24)
  565. #endif
  566.  
  567. /*
  568.  * All - generate rules to build necessary things during make all.
  569.  */
  570.  
  571. #ifndef All_n
  572. #define All_n(tg,n)                            @@\
  573. ClearSuffixList()                            @@\
  574.                                     @@\
  575. SuffixList()                                @@\
  576.                                     @@\
  577. Headers\
  578. n()                                    @@\
  579. MiscFiles\
  580. n()                                    @@\
  581. Sources\
  582. n()                                    @@\
  583. Objects\
  584. n()                                    @@\
  585.                                     @@\
  586. tg ::  
  587. #endif
  588.  
  589. #ifndef All
  590. #define All(deps)                            @@\
  591. ClearSuffixList()                            @@\
  592.                                     @@\
  593. SuffixList()                                @@\
  594.                                     @@\
  595. all :: deps##$(EXE)                            @@\
  596.                                     @@\
  597. PROGRAM = deps##$(EXE)                            @@\
  598.                                     @@\
  599. RCSCheckOut()                                @@\
  600.  
  601. #endif
  602.  
  603. #ifndef All1
  604. #define All1(deps)                            @@\
  605. All_n(all,1) deps##$(EXE)                        @@\
  606.                                     @@\
  607. PROGRAM = deps##$(EXE)                            @@\
  608.                                     @@\
  609. RCSCheckOut()                                @@\
  610.  
  611. #endif
  612.  
  613. #ifndef All2
  614. #define All2(d1,d2)                            @@\
  615. All_n(all,2) d1##$(EXE) d2##$(EXE)                    @@\
  616.                                     @@\
  617. PROGRAM = d1##$(EXE) d2##$(EXE)                        @@\
  618.                                     @@\
  619. RCSCheckOut()                                @@\
  620.  
  621. #endif
  622.  
  623. #ifndef All3
  624. #define All3(d1,d2,d3)                            @@\
  625. All_n(all,3) d1##$(EXE) d2##$(EXE) d3##$(EXE)                @@\
  626.                                     @@\
  627. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE)                @@\
  628.                                     @@\
  629. RCSCheckOut()                                @@\
  630.  
  631. #endif
  632.  
  633. #ifndef All4
  634. #define All4(d1,d2,d3,d4)                        @@\
  635. All_n(all,4) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE)        @@\
  636.                                     @@\
  637. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE)            @@\
  638.                                     @@\
  639. RCSCheckOut()                                @@\
  640.  
  641. #endif
  642.  
  643. #ifndef All5
  644. #define All5(d1,d2,d3,d4,d5)                        @@\
  645. All_n(all,5) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)    @@\
  646.                                     @@\
  647. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     @@\
  648.                                     @@\
  649. RCSCheckOut()                                @@\
  650.  
  651. #endif
  652.  
  653. #ifndef All6
  654. #define All6(d1,d2,d3,d4,d5,d6)                        @@\
  655. All_n(all,6) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  656. d6##$(EXE)                                @@\
  657.                                     @@\
  658. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  659. d6##$(EXE)                                 @@\
  660.                                     @@\
  661. RCSCheckOut()                                @@\
  662.  
  663. #endif
  664.  
  665. #ifndef All7
  666. #define All7(d1,d2,d3,d4,d5,d6,d7)                    @@\
  667. All_n(all,7) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  668. d6##$(EXE) d7##$(EXE)                            @@\
  669.                                     @@\
  670. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  671. d6##$(EXE) d7##$(EXE)                            @@\
  672.                                     @@\
  673. RCSCheckOut()                                @@\
  674.  
  675. #endif
  676.  
  677. #ifndef All8
  678. #define All8(d1,d2,d3,d4,d5,d6,d7,d8)                    @@\
  679. All_n(all,8) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  680. d6##$(EXE) d7##$(EXE) d8##$(EXE)                    @@\
  681.                                     @@\
  682. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  683. d6##$(EXE) d7##$(EXE) d8##$(EXE)                    @@\
  684.                                     @@\
  685. RCSCheckOut()                                @@\
  686.  
  687. #endif
  688.  
  689. #ifndef All9
  690. #define All9(d1,d2,d3,d4,d5,d6,d7,d8,d9)                @@\
  691. All_n(all,9) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  692. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE)                @@\
  693.                                     @@\
  694. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  695. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE)                @@\
  696.                                     @@\
  697. RCSCheckOut()                                @@\
  698.  
  699. #endif
  700.  
  701. #ifndef All10
  702. #define All10(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10)                @@\
  703. All_n(all,10) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  704. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE)            @@\
  705.                                     @@\
  706. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  707. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE)            @@\
  708.                                     @@\
  709. RCSCheckOut()                                @@\
  710.  
  711. #endif
  712.  
  713. #ifndef All11
  714. #define All11(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11)            @@\
  715. All_n(all,11) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  716. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)    @@\
  717.                                     @@\
  718. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  719. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)    @@\
  720.                                     @@\
  721. RCSCheckOut()                                @@\
  722.  
  723. #endif
  724.  
  725. #ifndef All12
  726. #define All12(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12)            @@\
  727. All_n(all,12) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  728. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  729. d12##$(EXE)                                @@\
  730.                                     @@\
  731. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  732. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)    \
  733. d12##$(EXE)                                @@\
  734.                                     @@\
  735. RCSCheckOut()                                @@\
  736.  
  737. #endif
  738.  
  739. #ifndef All13
  740. #define All13(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13)        @@\
  741. All_n(all,13) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)    \
  742. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  743. d12##$(EXE) d13##$(EXE)                            @@\
  744.                                     @@\
  745. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  746. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)    \
  747. d12##$(EXE) d13##$(EXE)                            @@\
  748.                                     @@\
  749. RCSCheckOut()                                @@\
  750.  
  751. #endif
  752.  
  753. #ifndef All14
  754. #define All14(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14)        @@\
  755. All_n(all,14) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  756. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  757. d12##$(EXE) d13##$(EXE) d14##$(EXE)                    @@\
  758.                                     @@\
  759. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  760. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  761. d12##$(EXE) d13##$(EXE) d14##$(EXE)                    @@\
  762.                                     @@\
  763. RCSCheckOut()                                @@\
  764.  
  765. #endif
  766.  
  767. #ifndef All15
  768. #define All15(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15)    @@\
  769. All_n(all,15) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  770. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  771. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE)                @@\
  772.                                     @@\
  773. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  774. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  775. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE)                @@\
  776.                                     @@\
  777. RCSCheckOut()                                @@\
  778.  
  779. #endif
  780.  
  781. #ifndef All16
  782. #define All16(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16)    @@\
  783. All_n(all,16) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  784. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  785. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE)        @@\
  786.                                     @@\
  787. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  788. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  789. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE)        @@\
  790.                                     @@\
  791. RCSCheckOut()                                @@\
  792.  
  793. #endif
  794.  
  795. #ifndef All17
  796. #define All17(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17)@@\
  797. All_n(all,17) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  798. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  799. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE)    @@\
  800.                                     @@\
  801. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  802. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  803. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE)    @@\
  804.                                     @@\
  805. RCSCheckOut()                                @@\
  806.  
  807. #endif
  808.  
  809. #ifndef All18
  810. #define All18(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,d18)@@\
  811. All_n(all,18) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  812. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  813. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  814. d18##$(EXE)                                @@\
  815.                                     @@\
  816. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  817. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  818. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  819. d18##$(EXE)                                @@\
  820.                                     @@\
  821. RCSCheckOut()                                @@\
  822.  
  823. #endif
  824.  
  825. #ifndef All19
  826. #define All19(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  827. d18,d19)                                @@\
  828. All_n(all,19) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  829. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  830. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  831. d18##$(EXE) d19##$(EXE)                            @@\
  832.                                     @@\
  833. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  834. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  835. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  836. d18##$(EXE) d19##$(EXE)                            @@\
  837.                                     @@\
  838. RCSCheckOut()                                @@\
  839.  
  840. #endif
  841.  
  842. #ifndef All20
  843. #define All20(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  844. d18,d19,d20)                                @@\
  845. All_n(all,20) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  846. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  847. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  848. d18##$(EXE) d19##$(EXE) d20##$(EXE)                    @@\
  849.                                     @@\
  850. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  851. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  852. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  853. d18##$(EXE) d19##$(EXE) d20##$(EXE)                    @@\
  854.                                     @@\
  855. RCSCheckOut()                                @@\
  856.  
  857. #endif
  858.  
  859. #ifndef All21
  860. #define All21(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  861. d18,d19,d20,d21)                            @@\
  862. All_n(all,21) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  863. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  864. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  865. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE)                @@\
  866.                                     @@\
  867. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  868. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  869. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  870. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE)                @@\
  871.                                     @@\
  872. RCSCheckOut()                                @@\
  873.  
  874. #endif
  875.  
  876. #ifndef All22
  877. #define All22(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  878. d18,d19,d20,d21,d22)                            @@\
  879. All_n(all,22) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  880. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  881. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  882. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE)        @@\
  883.                                     @@\
  884. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  885. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  886. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  887. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE)        @@\
  888.                                     @@\
  889. RCSCheckOut()                                @@\
  890.  
  891. #endif
  892.  
  893. #ifndef All23
  894. #define All23(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  895. d18,d19,d20,d21,d22,d23)                        @@\
  896. All_n(all,23) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  897. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  898. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  899. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE)    @@\
  900.                                     @@\
  901. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  902. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  903. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  904. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE)    @@\
  905.                                     @@\
  906. RCSCheckOut()                                @@\
  907.  
  908. #endif
  909.  
  910. #ifndef All24
  911. #define All24(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  912. d18,d19,d20,d21,d22,d23,d24)                        @@\
  913. All_n(all,23) d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  914. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  915. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  916. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE) \
  917. d24##$(EXE)                                @@\
  918.                                     @@\
  919. PROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  920. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  921. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  922. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE) \
  923. d24##$(EXE)                                @@\
  924.                                     @@\
  925. RCSCheckOut()                                @@\
  926.  
  927. #endif
  928.  
  929. #ifndef TestAll
  930. #define TestAll(deps)                            @@\
  931. ClearSuffixList()                            @@\
  932.                                     @@\
  933. SuffixList()                                @@\
  934.                                     @@\
  935. TPROGRAM = deps##$(EXE)                            @@\
  936.                                     @@\
  937. TOUTPUT = deps##$(TESTRUN)                        @@\
  938.                                     @@\
  939. runtest :: $(TPROGRAM)                            @@\
  940.     deps $(OUTPUT) deps##$(TESTRUN) $(ERROR)            @@\
  941.     - $(RM) deps##$(EXE)                        @@\
  942.                                     @@\
  943. $(TOUTPUT) :: $(OBJS)                            @@\
  944.                                     @@\
  945. results :: $(TOUTPUT)                            @@\
  946.     @$(ECHO) "There should be 1 test with zero errors detected"    @@\
  947.     @$(ECHO) "================================================"    @@\
  948.     @$(SEARCH) $(NOCASE) "detected" deps##$(TESTRUN)            @@\
  949. RCSCheckOut()                                @@\
  950.  
  951. #endif
  952.  
  953. #ifndef TestAll1
  954. #define TestAll1(d1)                            @@\
  955. TPROGRAM = d1##$(EXE)                            @@\
  956.                                     @@\
  957. TOUTPUT = d1##$(TESTRUN)                         @@\
  958.                                     @@\
  959. All_n(test,1) $(TPROGRAM)                        @@\
  960.                                     @@\
  961. runtest :: $(TPROGRAM)                            @@\
  962.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  963.     - $(RM) d1##$(EXE)                        @@\
  964.                                     @@\
  965. $(TOUTPUT) :: $(OBJS)                            @@\
  966.                                     @@\
  967. results :: $(TOUTPUT)                            @@\
  968.     @$(ECHO) "There should be 1 test with zero errors detected"    @@\
  969.     @$(ECHO) "================================================"    @@\
  970.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  971.                                     @@\
  972. RCSCheckOut()                                @@\
  973.  
  974. #endif
  975.  
  976. #ifndef TestAll2
  977. #define TestAll2(d1,d2)                            @@\
  978. TPROGRAM = d1##$(EXE) d2##$(EXE)                    @@\
  979.                                     @@\
  980. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN)                    @@\
  981.                                     @@\
  982. All_n(test,2) $(TPROGRAM)                        @@\
  983.                                     @@\
  984. runtest :: $(TPROGRAM)                            @@\
  985.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  986.     - $(RM) d1##$(EXE)                        @@\
  987.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  988.     - $(RM) d2##$(EXE)                        @@\
  989.                                     @@\
  990. $(TOUTPUT) :: $(OBJS)                            @@\
  991.                                     @@\
  992. results :: $(TOUTPUT)                            @@\
  993.     @$(ECHO) "There should be 2 tests with zero errors detected"    @@\
  994.     @$(ECHO) "================================================="    @@\
  995.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  996.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  997.                                     @@\
  998. RCSCheckOut()                                @@\
  999.  
  1000. #endif
  1001.  
  1002. #ifndef TestAll3
  1003. #define TestAll3(d1,d2,d3)                        @@\
  1004. TPROGRAM =  d1##$(EXE) d2##$(EXE) d3##$(EXE)                @@\
  1005.                                     @@\
  1006. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN)             @@\
  1007.                                     @@\
  1008. All_n(test,3) $(TPROGRAM)                        @@\
  1009.                                     @@\
  1010. runtest :: $(TPROGRAM)                            @@\
  1011.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1012.     - $(RM) d1##$(EXE)                        @@\
  1013.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1014.     - $(RM) d2##$(EXE)                        @@\
  1015.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1016.     - $(RM) d3##$(EXE)                        @@\
  1017.                                     @@\
  1018. $(TOUTPUT) :: $(OBJS)                            @@\
  1019.                                     @@\
  1020. results :: $(TOUTPUT)                            @@\
  1021.     @$(ECHO) "There should be 3 tests with zero errors detected"    @@\
  1022.     @$(ECHO) "================================================="    @@\
  1023.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1024.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1025.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1026.                                     @@\
  1027. RCSCheckOut()                                @@\
  1028.  
  1029. #endif
  1030.  
  1031. #ifndef TestAll4
  1032. #define TestAll4(d1,d2,d3,d4)                        @@\
  1033. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE)             @@\
  1034.                                     @@\
  1035. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     @@\
  1036.                                     @@\
  1037. All_n(test,4) $(TPROGRAM)                        @@\
  1038.                                     @@\
  1039. runtest :: $(TPROGRAM)                            @@\
  1040.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1041.     - $(RM) d1##$(EXE)                        @@\
  1042.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1043.     - $(RM) d2##$(EXE)                        @@\
  1044.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1045.     - $(RM) d3##$(EXE)                        @@\
  1046.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1047.     - $(RM) d4##$(EXE)                        @@\
  1048.                                     @@\
  1049. $(TOUTPUT) :: $(OBJS)                            @@\
  1050.                                     @@\
  1051. results :: $(TOUTPUT)                            @@\
  1052.     @$(ECHO) "There should be 4 tests with zero errors detected"    @@\
  1053.     @$(ECHO) "================================================="    @@\
  1054.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1055.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1056.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1057.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1058.                                     @@\
  1059. RCSCheckOut()                                @@\
  1060.  
  1061. #endif
  1062.  
  1063. #ifndef TestAll5
  1064. #define TestAll5(d1,d2,d3,d4,d5)                    @@\
  1065. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)    @@\
  1066.                                     @@\
  1067. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1068. d5##$(TESTRUN)                                 @@\
  1069.                                     @@\
  1070. All_n(test,5) $(TPROGRAM)                        @@\
  1071.                                     @@\
  1072. runtest :: $(TPROGRAM)                            @@\
  1073.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1074.     - $(RM) d1##$(EXE)                        @@\
  1075.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1076.     - $(RM) d2##$(EXE)                        @@\
  1077.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1078.     - $(RM) d3##$(EXE)                        @@\
  1079.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1080.     - $(RM) d4##$(EXE)                        @@\
  1081.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1082.     - $(RM) d5##$(EXE)                        @@\
  1083.                                     @@\
  1084. $(TOUTPUT) :: $(OBJS)                            @@\
  1085.                                     @@\
  1086. results :: $(TOUTPUT)                            @@\
  1087.     @$(ECHO) "There should be 5 tests with zero errors detected"    @@\
  1088.     @$(ECHO) "================================================="    @@\
  1089.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1090.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1091.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1092.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1093.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1094.                                     @@\
  1095. RCSCheckOut()                                @@\
  1096.  
  1097. #endif
  1098.  
  1099. #ifndef TestAll6
  1100. #define TestAll6(d1,d2,d3,d4,d5,d6)                    @@\
  1101. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1102. d6##$(EXE)                                @@\
  1103.                                     @@\
  1104. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1105. d5##$(TESTRUN) d6##$(TESTRUN)                         @@\
  1106.                                     @@\
  1107. All_n(test,6) $(TPROGRAM)                        @@\
  1108.                                     @@\
  1109. runtest :: $(TPROGRAM)                            @@\
  1110.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1111.     - $(RM) d1##$(EXE)                        @@\
  1112.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1113.     - $(RM) d2##$(EXE)                        @@\
  1114.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1115.     - $(RM) d3##$(EXE)                        @@\
  1116.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1117.     - $(RM) d4##$(EXE)                        @@\
  1118.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1119.     - $(RM) d5##$(EXE)                        @@\
  1120.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1121.     - $(RM) d6##$(EXE)                        @@\
  1122.                                     @@\
  1123. $(TOUTPUT) :: $(OBJS)                            @@\
  1124.                                     @@\
  1125. results :: $(TOUTPUT)                            @@\
  1126.     @$(ECHO) "There should be 6 tests with zero errors detected"    @@\
  1127.     @$(ECHO) "================================================="    @@\
  1128.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1129.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1130.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1131.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1132.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1133.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1134.                                     @@\
  1135. RCSCheckOut()                                @@\
  1136.  
  1137. #endif
  1138.  
  1139. #ifndef TestAll7
  1140. #define TestAll7(d1,d2,d3,d4,d5,d6,d7)                    @@\
  1141. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1142. d6##$(EXE) d7##$(EXE)                            @@\
  1143.                                     @@\
  1144. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1145. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN)                 @@\
  1146.                                     @@\
  1147. All_n(test,7) $(TPROGRAM)                        @@\
  1148.                                     @@\
  1149. runtest :: $(TPROGRAM)                            @@\
  1150.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1151.     - $(RM) d1##$(EXE)                        @@\
  1152.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1153.     - $(RM) d2##$(EXE)                        @@\
  1154.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1155.     - $(RM) d3##$(EXE)                        @@\
  1156.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1157.     - $(RM) d4##$(EXE)                        @@\
  1158.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1159.     - $(RM) d5##$(EXE)                        @@\
  1160.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1161.     - $(RM) d6##$(EXE)                        @@\
  1162.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1163.     - $(RM) d7##$(EXE)                        @@\
  1164.                                     @@\
  1165. $(TOUTPUT) :: $(OBJS)                            @@\
  1166.                                     @@\
  1167. results :: $(TOUTPUT)                            @@\
  1168.     @$(ECHO) "There should be 7 tests with zero errors detected"    @@\
  1169.     @$(ECHO) "================================================="    @@\
  1170.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1171.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1172.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1173.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1174.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1175.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1176.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1177.                                     @@\
  1178. RCSCheckOut()                                @@\
  1179.  
  1180. #endif
  1181.  
  1182. #ifndef TestAll8
  1183. #define TestAll8(d1,d2,d3,d4,d5,d6,d7,d8)                @@\
  1184. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1185. d6##$(EXE) d7##$(EXE) d8##$(EXE)                    @@\
  1186.                                     @@\
  1187. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1188. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN)        @@\
  1189.                                     @@\
  1190. All_n(test,8) $(TPROGRAM)                        @@\
  1191.                                     @@\
  1192. runtest :: $(TPROGRAM)                            @@\
  1193.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1194.     - $(RM) d1##$(EXE)                        @@\
  1195.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1196.     - $(RM) d2##$(EXE)                        @@\
  1197.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1198.     - $(RM) d3##$(EXE)                        @@\
  1199.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1200.     - $(RM) d4##$(EXE)                        @@\
  1201.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1202.     - $(RM) d5##$(EXE)                        @@\
  1203.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1204.     - $(RM) d6##$(EXE)                        @@\
  1205.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1206.     - $(RM) d7##$(EXE)                        @@\
  1207.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1208.     - $(RM) d8##$(EXE)                        @@\
  1209.                                     @@\
  1210. $(TOUTPUT) :: $(OBJS)                            @@\
  1211.                                     @@\
  1212. results :: $(TOUTPUT)                            @@\
  1213.     @$(ECHO) "There should be 8 tests with zero errors detected"    @@\
  1214.     @$(ECHO) "================================================="    @@\
  1215.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1216.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1217.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1218.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1219.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1220.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1221.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1222.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1223.                                     @@\
  1224. RCSCheckOut()                                @@\
  1225.  
  1226. #endif
  1227.  
  1228. #ifndef TestAll9
  1229. #define TestAll9(d1,d2,d3,d4,d5,d6,d7,d8,d9)                @@\
  1230. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1231. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE)                @@\
  1232.                                     @@\
  1233. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1234. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) @@\
  1235.                                     @@\
  1236. All_n(test,9) $(TPROGRAM)                        @@\
  1237.                                     @@\
  1238. runtest :: $(TPROGRAM)                            @@\
  1239.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1240.     - $(RM) d1##$(EXE)                        @@\
  1241.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1242.     - $(RM) d2##$(EXE)                        @@\
  1243.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1244.     - $(RM) d3##$(EXE)                        @@\
  1245.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1246.     - $(RM) d4##$(EXE)                        @@\
  1247.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1248.     - $(RM) d5##$(EXE)                        @@\
  1249.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1250.     - $(RM) d6##$(EXE)                        @@\
  1251.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1252.     - $(RM) d7##$(EXE)                        @@\
  1253.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1254.     - $(RM) d8##$(EXE)                        @@\
  1255.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1256.     - $(RM) d9##$(EXE)                        @@\
  1257.                                     @@\
  1258. $(TOUTPUT) :: $(OBJS)                            @@\
  1259.                                     @@\
  1260. results :: $(TOUTPUT)                            @@\
  1261.     @$(ECHO) "There should be 9 tests with zero errors detected"    @@\
  1262.     @$(ECHO) "================================================="    @@\
  1263.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1264.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1265.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1266.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1267.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1268.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1269.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1270.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1271.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1272.                                     @@\
  1273. RCSCheckOut()                                @@\
  1274.  
  1275. #endif
  1276.  
  1277. #ifndef TestAll10
  1278. #define TestAll10(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10)            @@\
  1279. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1280. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE)            @@\
  1281.                                     @@\
  1282. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1283. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1284. d10##$(TESTRUN)                             @@\
  1285.                                     @@\
  1286. All_n(test,10) $(TPROGRAM)                        @@\
  1287.                                     @@\
  1288. runtest :: $(TPROGRAM)                            @@\
  1289.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1290.     - $(RM) d1##$(EXE)                        @@\
  1291.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1292.     - $(RM) d2##$(EXE)                        @@\
  1293.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1294.     - $(RM) d3##$(EXE)                        @@\
  1295.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1296.     - $(RM) d4##$(EXE)                        @@\
  1297.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1298.     - $(RM) d5##$(EXE)                        @@\
  1299.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1300.     - $(RM) d6##$(EXE)                        @@\
  1301.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1302.     - $(RM) d7##$(EXE)                        @@\
  1303.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1304.     - $(RM) d8##$(EXE)                        @@\
  1305.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1306.     - $(RM) d9##$(EXE)                        @@\
  1307.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1308.     - $(RM) d10##$(EXE)                        @@\
  1309.                                     @@\
  1310. $(TOUTPUT) :: $(OBJS)                            @@\
  1311.                                     @@\
  1312. results :: $(TOUTPUT)                            @@\
  1313.     @$(ECHO) "There should be 10 tests with zero errors detected"    @@\
  1314.     @$(ECHO) "=================================================="    @@\
  1315.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1316.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1317.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1318.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1319.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1320.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1321.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1322.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1323.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1324.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  1325.                                     @@\
  1326. RCSCheckOut()                                @@\
  1327.  
  1328. #endif
  1329.  
  1330. #ifndef TestAll11
  1331. #define TestAll11(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11)            @@\
  1332. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1333. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)    @@\
  1334.                                     @@\
  1335. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1336. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1337. d10##$(TESTRUN) d11##$(TESTRUN)                        @@\
  1338.                                     @@\
  1339. All_n(test,11) $(TPROGRAM)                        @@\
  1340.                                     @@\
  1341. runtest :: $(TPROGRAM)                            @@\
  1342.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1343.     - $(RM) d1##$(EXE)                        @@\
  1344.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1345.     - $(RM) d2##$(EXE)                        @@\
  1346.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1347.     - $(RM) d3##$(EXE)                        @@\
  1348.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1349.     - $(RM) d4##$(EXE)                        @@\
  1350.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1351.     - $(RM) d5##$(EXE)                        @@\
  1352.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1353.     - $(RM) d6##$(EXE)                        @@\
  1354.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1355.     - $(RM) d7##$(EXE)                        @@\
  1356.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1357.     - $(RM) d8##$(EXE)                        @@\
  1358.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1359.     - $(RM) d9##$(EXE)                        @@\
  1360.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1361.     - $(RM) d10##$(EXE)                        @@\
  1362.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  1363.     - $(RM) d11##$(EXE)                        @@\
  1364.                                     @@\
  1365. $(TOUTPUT) :: $(OBJS)                            @@\
  1366.                                     @@\
  1367. results :: $(TOUTPUT)                            @@\
  1368.     @$(ECHO) "There should be 11 tests with zero errors detected"    @@\
  1369.     @$(ECHO) "=================================================="    @@\
  1370.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1371.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1372.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1373.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1374.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1375.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1376.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1377.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1378.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1379.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  1380.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  1381.                                     @@\
  1382. RCSCheckOut()                                @@\
  1383.  
  1384. #endif
  1385.  
  1386. #ifndef TestAll12
  1387. #define TestAll12(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12)        @@\
  1388. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1389. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  1390. d12##$(EXE)                                @@\
  1391.                                     @@\
  1392. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1393. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1394. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN)              @@\
  1395.                                     @@\
  1396. All_n(test,12) $(TPROGRAM)                        @@\
  1397.                                     @@\
  1398. runtest :: $(TPROGRAM)                            @@\
  1399.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1400.     - $(RM) d1##$(EXE)                        @@\
  1401.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1402.     - $(RM) d2##$(EXE)                        @@\
  1403.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1404.     - $(RM) d3##$(EXE)                        @@\
  1405.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1406.     - $(RM) d4##$(EXE)                        @@\
  1407.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1408.     - $(RM) d5##$(EXE)                        @@\
  1409.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1410.     - $(RM) d6##$(EXE)                        @@\
  1411.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1412.     - $(RM) d7##$(EXE)                        @@\
  1413.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1414.     - $(RM) d8##$(EXE)                        @@\
  1415.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1416.     - $(RM) d9##$(EXE)                        @@\
  1417.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1418.     - $(RM) d10##$(EXE)                        @@\
  1419.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  1420.     - $(RM) d11##$(EXE)                        @@\
  1421.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  1422.     - $(RM) d12##$(EXE)                        @@\
  1423.                                     @@\
  1424. $(TOUTPUT) :: $(OBJS)                            @@\
  1425.                                     @@\
  1426. results :: $(TOUTPUT)                            @@\
  1427.     @$(ECHO) "There should be 12 tests with zero errors detected"    @@\
  1428.     @$(ECHO) "=================================================="    @@\
  1429.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1430.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1431.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1432.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1433.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1434.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1435.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1436.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1437.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1438.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  1439.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  1440.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  1441.                                     @@\
  1442. RCSCheckOut()                                @@\
  1443.  
  1444. #endif
  1445.  
  1446. #ifndef TestAll13
  1447. #define TestAll13(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13)        @@\
  1448. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1449. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  1450. d12##$(EXE) d13##$(EXE)                            @@\
  1451.                                     @@\
  1452. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1453. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1454. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     @@\
  1455.                                     @@\
  1456. All_n(test,13) $(TPROGRAM)                        @@\
  1457.                                     @@\
  1458. runtest :: $(TPROGRAM)                            @@\
  1459.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1460.     - $(RM) d1##$(EXE)                        @@\
  1461.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1462.     - $(RM) d2##$(EXE)                        @@\
  1463.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1464.     - $(RM) d3##$(EXE)                        @@\
  1465.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1466.     - $(RM) d4##$(EXE)                        @@\
  1467.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1468.     - $(RM) d5##$(EXE)                        @@\
  1469.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1470.     - $(RM) d6##$(EXE)                        @@\
  1471.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1472.     - $(RM) d7##$(EXE)                        @@\
  1473.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1474.     - $(RM) d8##$(EXE)                        @@\
  1475.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1476.     - $(RM) d9##$(EXE)                        @@\
  1477.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1478.     - $(RM) d10##$(EXE)                        @@\
  1479.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  1480.     - $(RM) d11##$(EXE)                        @@\
  1481.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  1482.     - $(RM) d12##$(EXE)                        @@\
  1483.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  1484.     - $(RM) d13##$(EXE)                        @@\
  1485.                                     @@\
  1486. $(TOUTPUT) :: $(OBJS)                            @@\
  1487.                                     @@\
  1488. results :: $(TOUTPUT)                            @@\
  1489.     @$(ECHO) "There should be 13 tests with zero errors detected"    @@\
  1490.     @$(ECHO) "=================================================="    @@\
  1491.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1492.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1493.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1494.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1495.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1496.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1497.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1498.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1499.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1500.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  1501.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  1502.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  1503.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  1504.                                     @@\
  1505. RCSCheckOut()                                @@\
  1506.  
  1507. #endif
  1508.  
  1509. #ifndef TestAll14
  1510. #define TestAll14(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14)    @@\
  1511. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1512. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  1513. d12##$(EXE) d13##$(EXE) d14##$(EXE)                    @@\
  1514.                                     @@\
  1515. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1516. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1517. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  1518. d14##$(TESTRUN)                                @@\
  1519.                                     @@\
  1520. All_n(test,14) $(TPROGRAM)                        @@\
  1521.                                     @@\
  1522. runtest :: $(TPROGRAM)                            @@\
  1523.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1524.     - $(RM) d1##$(EXE)                        @@\
  1525.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1526.     - $(RM) d2##$(EXE)                        @@\
  1527.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1528.     - $(RM) d3##$(EXE)                        @@\
  1529.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1530.     - $(RM) d4##$(EXE)                        @@\
  1531.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1532.     - $(RM) d5##$(EXE)                        @@\
  1533.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1534.     - $(RM) d6##$(EXE)                        @@\
  1535.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1536.     - $(RM) d7##$(EXE)                        @@\
  1537.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1538.     - $(RM) d8##$(EXE)                        @@\
  1539.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1540.     - $(RM) d9##$(EXE)                        @@\
  1541.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1542.     - $(RM) d10##$(EXE)                        @@\
  1543.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  1544.     - $(RM) d11##$(EXE)                        @@\
  1545.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  1546.     - $(RM) d12##$(EXE)                        @@\
  1547.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  1548.     - $(RM) d13##$(EXE)                        @@\
  1549.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  1550.     - $(RM) d14##$(EXE)                        @@\
  1551.                                     @@\
  1552. $(TOUTPUT) :: $(OBJS)                            @@\
  1553.                                     @@\
  1554. results :: $(TOUTPUT)                            @@\
  1555.     @$(ECHO) "There should be 14 tests with zero errors detected"    @@\
  1556.     @$(ECHO) "=================================================="    @@\
  1557.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1558.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1559.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1560.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1561.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1562.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1563.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1564.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1565.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1566.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  1567.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  1568.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  1569.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  1570.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  1571.                                     @@\
  1572. RCSCheckOut()                                @@\
  1573.  
  1574. #endif
  1575.  
  1576. #ifndef TestAll15
  1577. #define TestAll15(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15)    @@\
  1578. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1579. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  1580. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE)                @@\
  1581.                                     @@\
  1582. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1583. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1584. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  1585. d14##$(TESTRUN) d15##$(TESTRUN)                        @@\
  1586.                                     @@\
  1587. All_n(test,15) $(TPROGRAM)                        @@\
  1588.                                     @@\
  1589. runtest :: $(TPROGRAM)                            @@\
  1590.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1591.     - $(RM) d1##$(EXE)                        @@\
  1592.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1593.     - $(RM) d2##$(EXE)                        @@\
  1594.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1595.     - $(RM) d3##$(EXE)                        @@\
  1596.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1597.     - $(RM) d4##$(EXE)                        @@\
  1598.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1599.     - $(RM) d5##$(EXE)                        @@\
  1600.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1601.     - $(RM) d6##$(EXE)                        @@\
  1602.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1603.     - $(RM) d7##$(EXE)                        @@\
  1604.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1605.     - $(RM) d8##$(EXE)                        @@\
  1606.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1607.     - $(RM) d9##$(EXE)                        @@\
  1608.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1609.     - $(RM) d10##$(EXE)                        @@\
  1610.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  1611.     - $(RM) d11##$(EXE)                        @@\
  1612.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  1613.     - $(RM) d12##$(EXE)                        @@\
  1614.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  1615.     - $(RM) d13##$(EXE)                        @@\
  1616.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  1617.     - $(RM) d14##$(EXE)                        @@\
  1618.     d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR)                @@\
  1619.     - $(RM) d15##$(EXE)                        @@\
  1620.                                     @@\
  1621. $(TOUTPUT) :: $(OBJS)                            @@\
  1622.                                     @@\
  1623. results :: $(TOUTPUT)                            @@\
  1624.     @$(ECHO) "There should be 15 tests with zero errors detected"    @@\
  1625.     @$(ECHO) "=================================================="    @@\
  1626.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1627.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1628.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1629.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1630.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1631.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1632.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1633.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1634.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1635.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  1636.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  1637.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  1638.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  1639.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  1640.     @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN)            @@\
  1641.     @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN)            @@\
  1642.                                     @@\
  1643. RCSCheckOut()                                @@\
  1644.  
  1645. #endif
  1646.  
  1647. #ifndef TestAll16
  1648. #define TestAll16(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16)@@\
  1649. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1650. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  1651. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE)        @@\
  1652.                                     @@\
  1653. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1654. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1655. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  1656. d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN)                @@\
  1657.                                     @@\
  1658. All_n(test,16) $(TPROGRAM)                        @@\
  1659.                                     @@\
  1660. runtest :: $(TPROGRAM)                            @@\
  1661.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1662.     - $(RM) d1##$(EXE)                        @@\
  1663.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1664.     - $(RM) d2##$(EXE)                        @@\
  1665.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1666.     - $(RM) d3##$(EXE)                        @@\
  1667.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1668.     - $(RM) d4##$(EXE)                        @@\
  1669.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1670.     - $(RM) d5##$(EXE)                        @@\
  1671.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1672.     - $(RM) d6##$(EXE)                        @@\
  1673.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1674.     - $(RM) d7##$(EXE)                        @@\
  1675.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1676.     - $(RM) d8##$(EXE)                        @@\
  1677.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1678.     - $(RM) d9##$(EXE)                        @@\
  1679.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1680.     - $(RM) d10##$(EXE)                        @@\
  1681.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  1682.     - $(RM) d11##$(EXE)                        @@\
  1683.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  1684.     - $(RM) d12##$(EXE)                        @@\
  1685.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  1686.     - $(RM) d13##$(EXE)                        @@\
  1687.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  1688.     - $(RM) d14##$(EXE)                        @@\
  1689.     d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR)                @@\
  1690.     - $(RM) d15##$(EXE)                        @@\
  1691.     d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR)                @@\
  1692.     - $(RM) d16##$(EXE)                        @@\
  1693.                                     @@\
  1694. $(TOUTPUT) :: $(OBJS)                            @@\
  1695.                                     @@\
  1696. results :: $(TOUTPUT)                            @@\
  1697.     @$(ECHO) "There should be 16 tests with zero errors detected"    @@\
  1698.     @$(ECHO) "=================================================="    @@\
  1699.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1700.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1701.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1702.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1703.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1704.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1705.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1706.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1707.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1708.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  1709.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  1710.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  1711.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  1712.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  1713.     @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN)            @@\
  1714.     @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN)            @@\
  1715.                                     @@\
  1716. RCSCheckOut()                                @@\
  1717.  
  1718. #endif
  1719.  
  1720. #ifndef TestAll17
  1721. #define TestAll17(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17)@@\
  1722. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1723. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  1724. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE)    @@\
  1725.                                     @@\
  1726. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1727. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1728. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  1729. d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN)     @@\
  1730.                                     @@\
  1731. All_n(test,17) $(TPROGRAM)                        @@\
  1732.                                     @@\
  1733. runtest :: $(TPROGRAM)                            @@\
  1734.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1735.     - $(RM) d1##$(EXE)                        @@\
  1736.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1737.     - $(RM) d2##$(EXE)                        @@\
  1738.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1739.     - $(RM) d3##$(EXE)                        @@\
  1740.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1741.     - $(RM) d4##$(EXE)                        @@\
  1742.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1743.     - $(RM) d5##$(EXE)                        @@\
  1744.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1745.     - $(RM) d6##$(EXE)                        @@\
  1746.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1747.     - $(RM) d7##$(EXE)                        @@\
  1748.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1749.     - $(RM) d8##$(EXE)                        @@\
  1750.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1751.     - $(RM) d9##$(EXE)                        @@\
  1752.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1753.     - $(RM) d10##$(EXE)                        @@\
  1754.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  1755.     - $(RM) d11##$(EXE)                        @@\
  1756.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  1757.     - $(RM) d12##$(EXE)                        @@\
  1758.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  1759.     - $(RM) d13##$(EXE)                        @@\
  1760.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  1761.     - $(RM) d14##$(EXE)                        @@\
  1762.     d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR)                @@\
  1763.     - $(RM) d15##$(EXE)                        @@\
  1764.     d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR)                @@\
  1765.     - $(RM) d16##$(EXE)                        @@\
  1766.     d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR)                @@\
  1767.     - $(RM) d17##$(EXE)                        @@\
  1768.                                     @@\
  1769. $(TOUTPUT) :: $(OBJS)                            @@\
  1770.                                     @@\
  1771. results :: $(TOUTPUT)                            @@\
  1772.     @$(ECHO) "There should be 17 tests with zero errors detected"    @@\
  1773.     @$(ECHO) "=================================================="    @@\
  1774.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1775.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1776.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1777.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1778.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1779.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1780.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1781.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1782.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1783.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  1784.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  1785.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  1786.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  1787.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  1788.     @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN)            @@\
  1789.     @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN)            @@\
  1790.     @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN)            @@\
  1791.                                     @@\
  1792. RCSCheckOut()                                @@\
  1793.  
  1794. #endif
  1795.  
  1796. #ifndef TestAll18
  1797. #define TestAll18(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  1798. d18)                                    @@\
  1799. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1800. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  1801. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  1802. d18##$(EXE)                                @@\
  1803.                                     @@\
  1804. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1805. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1806. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  1807. d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN)     \
  1808. d18##$(TESTRUN)                                @@\
  1809.                                     @@\
  1810. All_n(test,18) $(TPROGRAM)                        @@\
  1811.                                     @@\
  1812. runtest :: $(TPROGRAM)                            @@\
  1813.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1814.     - $(RM) d1##$(EXE)                        @@\
  1815.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1816.     - $(RM) d2##$(EXE)                        @@\
  1817.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1818.     - $(RM) d3##$(EXE)                        @@\
  1819.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1820.     - $(RM) d4##$(EXE)                        @@\
  1821.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1822.     - $(RM) d5##$(EXE)                        @@\
  1823.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1824.     - $(RM) d6##$(EXE)                        @@\
  1825.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1826.     - $(RM) d7##$(EXE)                        @@\
  1827.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1828.     - $(RM) d8##$(EXE)                        @@\
  1829.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1830.     - $(RM) d9##$(EXE)                        @@\
  1831.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1832.     - $(RM) d10##$(EXE)                        @@\
  1833.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  1834.     - $(RM) d11##$(EXE)                        @@\
  1835.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  1836.     - $(RM) d12##$(EXE)                        @@\
  1837.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  1838.     - $(RM) d13##$(EXE)                        @@\
  1839.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  1840.     - $(RM) d14##$(EXE)                        @@\
  1841.     d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR)                @@\
  1842.     - $(RM) d15##$(EXE)                        @@\
  1843.     d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR)                @@\
  1844.     - $(RM) d16##$(EXE)                        @@\
  1845.     d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR)                @@\
  1846.     - $(RM) d17##$(EXE)                        @@\
  1847.     d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR)                @@\
  1848.     - $(RM) d18##$(EXE)                        @@\
  1849.                                     @@\
  1850. $(TOUTPUT) :: $(OBJS)                            @@\
  1851.                                     @@\
  1852. results :: $(TOUTPUT)                            @@\
  1853.     @$(ECHO) "There should be 18 tests with zero errors detected"    @@\
  1854.     @$(ECHO) "=================================================="    @@\
  1855.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1856.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1857.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1858.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1859.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1860.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1861.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1862.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1863.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1864.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  1865.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  1866.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  1867.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  1868.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  1869.     @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN)            @@\
  1870.     @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN)            @@\
  1871.     @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN)            @@\
  1872.     @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN)            @@\
  1873.                                     @@\
  1874. RCSCheckOut()                                @@\
  1875.  
  1876. #endif
  1877.  
  1878. #ifndef TestAll19
  1879. #define TestAll19(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  1880. d18,d19)                                @@\
  1881. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1882. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  1883. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  1884. d18##$(EXE) d19##$(EXE)                            @@\
  1885.                                     @@\
  1886. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1887. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1888. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  1889. d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN)     \
  1890. d18##$(TESTRUN) d19##$(TESTRUN)                     @@\
  1891.                                     @@\
  1892. All_n(test,19) $(TPROGRAM)                        @@\
  1893.                                     @@\
  1894. runtest :: $(TPROGRAM)                            @@\
  1895.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1896.     - $(RM) d1##$(EXE)                        @@\
  1897.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1898.     - $(RM) d2##$(EXE)                        @@\
  1899.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1900.     - $(RM) d3##$(EXE)                        @@\
  1901.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1902.     - $(RM) d4##$(EXE)                        @@\
  1903.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1904.     - $(RM) d5##$(EXE)                        @@\
  1905.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1906.     - $(RM) d6##$(EXE)                        @@\
  1907.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1908.     - $(RM) d7##$(EXE)                        @@\
  1909.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1910.     - $(RM) d8##$(EXE)                        @@\
  1911.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1912.     - $(RM) d9##$(EXE)                        @@\
  1913.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1914.     - $(RM) d10##$(EXE)                        @@\
  1915.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  1916.     - $(RM) d11##$(EXE)                        @@\
  1917.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  1918.     - $(RM) d12##$(EXE)                        @@\
  1919.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  1920.     - $(RM) d13##$(EXE)                        @@\
  1921.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  1922.     - $(RM) d14##$(EXE)                        @@\
  1923.     d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR)                @@\
  1924.     - $(RM) d15##$(EXE)                        @@\
  1925.     d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR)                @@\
  1926.     - $(RM) d16##$(EXE)                        @@\
  1927.     d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR)                @@\
  1928.     - $(RM) d17##$(EXE)                        @@\
  1929.     d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR)                @@\
  1930.     - $(RM) d18##$(EXE)                        @@\
  1931.     d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR)                @@\
  1932.     - $(RM) d19##$(EXE)                        @@\
  1933.                                     @@\
  1934. $(TOUTPUT) :: $(OBJS)                            @@\
  1935.                                     @@\
  1936. results :: $(TOUTPUT)                            @@\
  1937.     @$(ECHO) "There should be 19 tests with zero errors detected"    @@\
  1938.     @$(ECHO) "=================================================="    @@\
  1939.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  1940.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  1941.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  1942.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  1943.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  1944.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  1945.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  1946.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  1947.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  1948.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  1949.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  1950.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  1951.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  1952.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  1953.     @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN)            @@\
  1954.     @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN)            @@\
  1955.     @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN)            @@\
  1956.     @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN)            @@\
  1957.     @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN)            @@\
  1958.                                     @@\
  1959. RCSCheckOut()                                @@\
  1960.  
  1961. #endif
  1962.  
  1963. #ifndef TestAll20
  1964. #define TestAll20(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  1965. d18,d19,d20)                                @@\
  1966. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  1967. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  1968. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  1969. d18##$(EXE) d19##$(EXE) d20##$(EXE)                    @@\
  1970.                                     @@\
  1971. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  1972. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  1973. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  1974. d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN)     \
  1975. d18##$(TESTRUN) d19##$(TESTRUN) d20##$(TESTRUN)             @@\
  1976.                                     @@\
  1977. All_n(test,20) $(TPROGRAM)                        @@\
  1978.                                     @@\
  1979. runtest :: $(TPROGRAM)                            @@\
  1980.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  1981.     - $(RM) d1##$(EXE)                        @@\
  1982.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  1983.     - $(RM) d2##$(EXE)                        @@\
  1984.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  1985.     - $(RM) d3##$(EXE)                        @@\
  1986.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  1987.     - $(RM) d4##$(EXE)                        @@\
  1988.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  1989.     - $(RM) d5##$(EXE)                        @@\
  1990.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  1991.     - $(RM) d6##$(EXE)                        @@\
  1992.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  1993.     - $(RM) d7##$(EXE)                        @@\
  1994.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  1995.     - $(RM) d8##$(EXE)                        @@\
  1996.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  1997.     - $(RM) d9##$(EXE)                        @@\
  1998.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  1999.     - $(RM) d10##$(EXE)                        @@\
  2000.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  2001.     - $(RM) d11##$(EXE)                        @@\
  2002.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  2003.     - $(RM) d12##$(EXE)                        @@\
  2004.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  2005.     - $(RM) d13##$(EXE)                               @@\
  2006.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  2007.     - $(RM) d14##$(EXE)                        @@\
  2008.     d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR)                @@\
  2009.     - $(RM) d15##$(EXE)                        @@\
  2010.     d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR)                @@\
  2011.     - $(RM) d16##$(EXE)                        @@\
  2012.     d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR)                @@\
  2013.     - $(RM) d17##$(EXE)                        @@\
  2014.     d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR)                @@\
  2015.     - $(RM) d18##$(EXE)                        @@\
  2016.     d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR)                @@\
  2017.     - $(RM) d19##$(EXE)                        @@\
  2018.     d20 $(OUTPUT) d20##$(TESTRUN) $(ERROR)                @@\
  2019.     - $(RM) d20##$(EXE)                        @@\
  2020.                                     @@\
  2021. $(TOUTPUT) :: $(OBJS)                            @@\
  2022.                                     @@\
  2023. results :: $(TOUTPUT)                            @@\
  2024.     @$(ECHO) "There should be 20 tests with zero errors detected"    @@\
  2025.     @$(ECHO) "=================================================="    @@\
  2026.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  2027.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  2028.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  2029.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  2030.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  2031.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  2032.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  2033.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  2034.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  2035.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  2036.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  2037.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  2038.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  2039.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  2040.     @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN)            @@\
  2041.     @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN)            @@\
  2042.     @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN)            @@\
  2043.     @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN)            @@\
  2044.     @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN)            @@\
  2045.     @$(SEARCH) $(NOCASE) "detected" d20##$(TESTRUN)            @@\
  2046.                                     @@\
  2047. RCSCheckOut()                                @@\
  2048.  
  2049. #endif
  2050.  
  2051. #ifndef TestAll21
  2052. #define TestAll21(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  2053. d18,d19,d20,d21)                            @@\
  2054. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  2055. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  2056. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  2057. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE)                @@\
  2058.                                     @@\
  2059. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  2060. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  2061. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  2062. d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN)     \
  2063. d18##$(TESTRUN) d19##$(TESTRUN) d20##$(TESTRUN) d21##$(TESTRUN)     @@\
  2064.                                     @@\
  2065. All_n(test,21) $(TPROGRAM)                        @@\
  2066.                                     @@\
  2067. runtest :: $(TPROGRAM)                            @@\
  2068.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  2069.     - $(RM) d1##$(EXE)                        @@\
  2070.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  2071.     - $(RM) d2##$(EXE)                        @@\
  2072.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  2073.     - $(RM) d3##$(EXE)                        @@\
  2074.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  2075.     - $(RM) d4##$(EXE)                        @@\
  2076.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  2077.     - $(RM) d5##$(EXE)                        @@\
  2078.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  2079.     - $(RM) d6##$(EXE)                        @@\
  2080.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  2081.     - $(RM) d7##$(EXE)                        @@\
  2082.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  2083.     - $(RM) d8##$(EXE)                        @@\
  2084.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  2085.     - $(RM) d9##$(EXE)                        @@\
  2086.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  2087.     - $(RM) d10##$(EXE)                        @@\
  2088.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  2089.     - $(RM) d11##$(EXE)                        @@\
  2090.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  2091.     - $(RM) d12##$(EXE)                        @@\
  2092.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  2093.     - $(RM) d13##$(EXE)                        @@\
  2094.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  2095.     - $(RM) d14##$(EXE)                        @@\
  2096.     d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR)                @@\
  2097.     - $(RM) d15##$(EXE)                        @@\
  2098.     d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR)                @@\
  2099.     - $(RM) d16##$(EXE)                        @@\
  2100.     d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR)                @@\
  2101.     - $(RM) d17##$(EXE)                        @@\
  2102.     d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR)                @@\
  2103.     - $(RM) d18##$(EXE)                        @@\
  2104.     d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR)                @@\
  2105.     - $(RM) d19##$(EXE)                        @@\
  2106.     d20 $(OUTPUT) d20##$(TESTRUN) $(ERROR)                @@\
  2107.     - $(RM) d20##$(EXE)                        @@\
  2108.     d21 $(OUTPUT) d21##$(TESTRUN) $(ERROR)                @@\
  2109.     - $(RM) d21##$(EXE)                        @@\
  2110.                                     @@\
  2111. $(TOUTPUT) :: $(OBJS)                            @@\
  2112.                                     @@\
  2113. results :: $(TOUTPUT)                            @@\
  2114.     @$(ECHO) "There should be 21 tests with zero errors detected"    @@\
  2115.     @$(ECHO) "=================================================="    @@\
  2116.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  2117.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  2118.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  2119.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  2120.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  2121.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  2122.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  2123.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  2124.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  2125.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  2126.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  2127.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  2128.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  2129.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  2130.     @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN)            @@\
  2131.     @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN)            @@\
  2132.     @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN)            @@\
  2133.     @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN)            @@\
  2134.     @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN)            @@\
  2135.     @$(SEARCH) $(NOCASE) "detected" d20##$(TESTRUN)            @@\
  2136.     @$(SEARCH) $(NOCASE) "detected" d21##$(TESTRUN)            @@\
  2137.                                     @@\
  2138. RCSCheckOut()                                @@\
  2139.  
  2140. #endif
  2141.  
  2142. #ifndef TestAll22
  2143. #define TestAll22(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  2144. d18,d19,d20,d21,d22)                            @@\
  2145. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  2146. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  2147. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  2148. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE)        @@\
  2149.                                     @@\
  2150. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  2151. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  2152. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  2153. d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN)     \
  2154. d18##$(TESTRUN) d19##$(TESTRUN) d20##$(TESTRUN) d21##$(TESTRUN)     \
  2155. d22##$(TESTRUN)                             @@\
  2156.                                     @@\
  2157. All_n(test,22) $(TPROGRAM)                        @@\
  2158.                                     @@\
  2159. runtest :: $(TPROGRAM)                            @@\
  2160.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  2161.     - $(RM) d1##$(EXE)                        @@\
  2162.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  2163.     - $(RM) d2##$(EXE)                        @@\
  2164.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  2165.     - $(RM) d3##$(EXE)                        @@\
  2166.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  2167.     - $(RM) d4##$(EXE)                        @@\
  2168.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  2169.     - $(RM) d5##$(EXE)                        @@\
  2170.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  2171.     - $(RM) d6##$(EXE)                        @@\
  2172.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  2173.     - $(RM) d7##$(EXE)                        @@\
  2174.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  2175.     - $(RM) d8##$(EXE)                        @@\
  2176.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  2177.     - $(RM) d9##$(EXE)                        @@\
  2178.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  2179.     - $(RM) d10##$(EXE)                        @@\
  2180.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  2181.     - $(RM) d11##$(EXE)                        @@\
  2182.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  2183.     - $(RM) d12##$(EXE)                        @@\
  2184.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  2185.     - $(RM) d13##$(EXE)                        @@\
  2186.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  2187.     - $(RM) d14##$(EXE)                        @@\
  2188.     d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR)                @@\
  2189.     - $(RM) d15##$(EXE)                        @@\
  2190.     d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR)                @@\
  2191.     - $(RM) d16##$(EXE)                        @@\
  2192.     d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR)                @@\
  2193.     - $(RM) d17##$(EXE)                        @@\
  2194.     d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR)                @@\
  2195.     - $(RM) d18##$(EXE)                        @@\
  2196.     d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR)                @@\
  2197.     - $(RM) d19##$(EXE)                        @@\
  2198.     d20 $(OUTPUT) d20##$(TESTRUN) $(ERROR)                @@\
  2199.     - $(RM) d20##$(EXE)                        @@\
  2200.     d21 $(OUTPUT) d21##$(TESTRUN) $(ERROR)                @@\
  2201.     - $(RM) d21##$(EXE)                        @@\
  2202.     d22 $(OUTPUT) d22##$(TESTRUN) $(ERROR)                @@\
  2203.     - $(RM) d22##$(EXE)                        @@\
  2204.                                     @@\
  2205. $(TOUTPUT) :: $(OBJS)                            @@\
  2206.                                     @@\
  2207. results :: $(TOUTPUT)                            @@\
  2208.     @$(ECHO) "There should be 22 tests with zero errors detected"    @@\
  2209.     @$(ECHO) "=================================================="    @@\
  2210.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  2211.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  2212.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  2213.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  2214.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  2215.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  2216.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  2217.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  2218.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  2219.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  2220.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  2221.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  2222.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  2223.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  2224.     @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN)            @@\
  2225.     @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN)            @@\
  2226.     @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN)            @@\
  2227.     @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN)            @@\
  2228.     @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN)            @@\
  2229.     @$(SEARCH) $(NOCASE) "detected" d20##$(TESTRUN)            @@\
  2230.     @$(SEARCH) $(NOCASE) "detected" d21##$(TESTRUN)            @@\
  2231.     @$(SEARCH) $(NOCASE) "detected" d22##$(TESTRUN)            @@\
  2232.                                     @@\
  2233. RCSCheckOut()                                @@\
  2234.  
  2235. #endif
  2236.  
  2237. #ifndef TestAll23
  2238. #define TestAll23(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  2239. d18,d19,d20,d21,d22,d23)                        @@\
  2240. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  2241. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  2242. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  2243. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE)    @@\
  2244.                                     @@\
  2245. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  2246. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  2247. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  2248. d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN)     \
  2249. d18##$(TESTRUN) d19##$(TESTRUN) d20##$(TESTRUN) d21##$(TESTRUN)     \
  2250. d22##$(TESTRUN) d23##$(TESTRUN)                     @@\
  2251.                                     @@\
  2252. All_n(test,23) $(TPROGRAM)                        @@\
  2253.                                     @@\
  2254. runtest :: $(TPROGRAM)                            @@\
  2255.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  2256.     - $(RM) d1##$(EXE)                        @@\
  2257.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  2258.     - $(RM) d2##$(EXE)                        @@\
  2259.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  2260.     - $(RM) d3##$(EXE)                        @@\
  2261.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  2262.     - $(RM) d4##$(EXE)                        @@\
  2263.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  2264.     - $(RM) d5##$(EXE)                        @@\
  2265.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  2266.     - $(RM) d6##$(EXE)                        @@\
  2267.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  2268.     - $(RM) d7##$(EXE)                        @@\
  2269.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  2270.     - $(RM) d8##$(EXE)                        @@\
  2271.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  2272.     - $(RM) d9##$(EXE)                        @@\
  2273.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  2274.     - $(RM) d10##$(EXE)                        @@\
  2275.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  2276.     - $(RM) d11##$(EXE)                        @@\
  2277.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  2278.     - $(RM) d12##$(EXE)                        @@\
  2279.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  2280.     - $(RM) d13##$(EXE)                        @@\
  2281.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  2282.     - $(RM) d14##$(EXE)                        @@\
  2283.     d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR)                @@\
  2284.     - $(RM) d15##$(EXE)                        @@\
  2285.     d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR)                @@\
  2286.     - $(RM) d16##$(EXE)                        @@\
  2287.     d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR)                @@\
  2288.     - $(RM) d17##$(EXE)                        @@\
  2289.     d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR)                @@\
  2290.     - $(RM) d18##$(EXE)                        @@\
  2291.     d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR)                @@\
  2292.     - $(RM) d19##$(EXE)                        @@\
  2293.     d20 $(OUTPUT) d20##$(TESTRUN) $(ERROR)                @@\
  2294.     - $(RM) d20##$(EXE)                        @@\
  2295.     d21 $(OUTPUT) d21##$(TESTRUN) $(ERROR)                @@\
  2296.     - $(RM) d21##$(EXE)                        @@\
  2297.     d22 $(OUTPUT) d22##$(TESTRUN) $(ERROR)                @@\
  2298.     - $(RM) d22##$(EXE)                        @@\
  2299.     d23 $(OUTPUT) d23##$(TESTRUN) $(ERROR)                @@\
  2300.     - $(RM) d23##$(EXE)                        @@\
  2301.                                     @@\
  2302. $(TOUTPUT) :: $(OBJS)                            @@\
  2303.                                     @@\
  2304. results :: $(TOUTPUT)                            @@\
  2305.     @$(ECHO) "There should be 23 tests with zero errors detected"    @@\
  2306.     @$(ECHO) "=================================================="    @@\
  2307.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  2308.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  2309.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  2310.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  2311.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  2312.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  2313.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  2314.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  2315.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  2316.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  2317.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  2318.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  2319.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  2320.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  2321.     @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN)            @@\
  2322.     @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN)            @@\
  2323.     @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN)            @@\
  2324.     @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN)            @@\
  2325.     @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN)            @@\
  2326.     @$(SEARCH) $(NOCASE) "detected" d20##$(TESTRUN)            @@\
  2327.     @$(SEARCH) $(NOCASE) "detected" d21##$(TESTRUN)            @@\
  2328.     @$(SEARCH) $(NOCASE) "detected" d22##$(TESTRUN)            @@\
  2329.     @$(SEARCH) $(NOCASE) "detected" d23##$(TESTRUN)            @@\
  2330.                                     @@\
  2331. RCSCheckOut()                                @@\
  2332.  
  2333. #endif
  2334.  
  2335. #ifndef TestAll24
  2336. #define TestAll24(d1,d2,d3,d4,d5,d6,d7,d8,d9,d10,d11,d12,d13,d14,d15,d16,d17,\
  2337. d18,d19,d20,d21,d22,d23,d24)                        @@\
  2338. TPROGRAM = d1##$(EXE) d2##$(EXE) d3##$(EXE) d4##$(EXE) d5##$(EXE)     \
  2339. d6##$(EXE) d7##$(EXE) d8##$(EXE) d9##$(EXE) d10##$(EXE) d11##$(EXE)     \
  2340. d12##$(EXE) d13##$(EXE) d14##$(EXE) d15##$(EXE) d16##$(EXE) d17##$(EXE) \
  2341. d18##$(EXE) d19##$(EXE) d20##$(EXE) d21##$(EXE) d22##$(EXE) d23##$(EXE)    \
  2342. d24##$(EXE)                                @@\
  2343.                                     @@\
  2344. TOUTPUT = d1##$(TESTRUN) d2##$(TESTRUN) d3##$(TESTRUN) d4##$(TESTRUN)     \
  2345. d5##$(TESTRUN) d6##$(TESTRUN) d7##$(TESTRUN) d8##$(TESTRUN) d9##$(TESTRUN) \
  2346. d10##$(TESTRUN) d11##$(TESTRUN) d12##$(TESTRUN) d13##$(TESTRUN)     \
  2347. d14##$(TESTRUN) d15##$(TESTRUN) d16##$(TESTRUN) d17##$(TESTRUN)     \
  2348. d18##$(TESTRUN) d19##$(TESTRUN) d20##$(TESTRUN) d21##$(TESTRUN)     \
  2349. d22##$(TESTRUN) d23##$(TESTRUN) d24##$(TESTRUN)                @@\
  2350.                                     @@\
  2351. All_n(test,23) $(TPROGRAM)                        @@\
  2352.                                     @@\
  2353. runtest :: $(TPROGRAM)                            @@\
  2354.     d1 $(OUTPUT) d1##$(TESTRUN) $(ERROR)                @@\
  2355.     - $(RM) d1##$(EXE)                        @@\
  2356.     d2 $(OUTPUT) d2##$(TESTRUN) $(ERROR)                @@\
  2357.     - $(RM) d2##$(EXE)                        @@\
  2358.     d3 $(OUTPUT) d3##$(TESTRUN) $(ERROR)                @@\
  2359.     - $(RM) d3##$(EXE)                        @@\
  2360.     d4 $(OUTPUT) d4##$(TESTRUN) $(ERROR)                @@\
  2361.     - $(RM) d4##$(EXE)                        @@\
  2362.     d5 $(OUTPUT) d5##$(TESTRUN) $(ERROR)                @@\
  2363.     - $(RM) d5##$(EXE)                        @@\
  2364.     d6 $(OUTPUT) d6##$(TESTRUN) $(ERROR)                @@\
  2365.     - $(RM) d6##$(EXE)                        @@\
  2366.     d7 $(OUTPUT) d7##$(TESTRUN) $(ERROR)                @@\
  2367.     - $(RM) d7##$(EXE)                        @@\
  2368.     d8 $(OUTPUT) d8##$(TESTRUN) $(ERROR)                @@\
  2369.     - $(RM) d8##$(EXE)                        @@\
  2370.     d9 $(OUTPUT) d9##$(TESTRUN) $(ERROR)                @@\
  2371.     - $(RM) d9##$(EXE)                        @@\
  2372.     d10 $(OUTPUT) d10##$(TESTRUN) $(ERROR)                @@\
  2373.     - $(RM) d10##$(EXE)                        @@\
  2374.     d11 $(OUTPUT) d11##$(TESTRUN) $(ERROR)                @@\
  2375.     - $(RM) d11##$(EXE)                        @@\
  2376.     d12 $(OUTPUT) d12##$(TESTRUN) $(ERROR)                @@\
  2377.     - $(RM) d12##$(EXE)                        @@\
  2378.     d13 $(OUTPUT) d13##$(TESTRUN) $(ERROR)                @@\
  2379.     - $(RM) d13##$(EXE)                        @@\
  2380.     d14 $(OUTPUT) d14##$(TESTRUN) $(ERROR)                @@\
  2381.     - $(RM) d14##$(EXE)                        @@\
  2382.     d15 $(OUTPUT) d15##$(TESTRUN) $(ERROR)                @@\
  2383.     - $(RM) d15##$(EXE)                        @@\
  2384.     d16 $(OUTPUT) d16##$(TESTRUN) $(ERROR)                @@\
  2385.     - $(RM) d16##$(EXE)                        @@\
  2386.     d17 $(OUTPUT) d17##$(TESTRUN) $(ERROR)                @@\
  2387.     - $(RM) d17##$(EXE)                        @@\
  2388.     d18 $(OUTPUT) d18##$(TESTRUN) $(ERROR)                @@\
  2389.     - $(RM) d18##$(EXE)                        @@\
  2390.     d19 $(OUTPUT) d19##$(TESTRUN) $(ERROR)                @@\
  2391.     - $(RM) d19##$(EXE)                        @@\
  2392.     d20 $(OUTPUT) d20##$(TESTRUN) $(ERROR)                @@\
  2393.     - $(RM) d20##$(EXE)                        @@\
  2394.     d21 $(OUTPUT) d21##$(TESTRUN) $(ERROR)                @@\
  2395.     - $(RM) d21##$(EXE)                        @@\
  2396.     d22 $(OUTPUT) d22##$(TESTRUN) $(ERROR)                @@\
  2397.     - $(RM) d22##$(EXE)                        @@\
  2398.     d23 $(OUTPUT) d23##$(TESTRUN) $(ERROR)                @@\
  2399.     - $(RM) d23##$(EXE)                        @@\
  2400.     d24 $(OUTPUT) d24##$(TESTRUN) $(ERROR)                @@\
  2401.     - $(RM) d24##$(EXE)                        @@\
  2402.                                     @@\
  2403. $(TOUTPUT) :: $(OBJS)                            @@\
  2404.                                     @@\
  2405. results :: $(TOUTPUT)                            @@\
  2406.     @$(ECHO) "There should be 24 tests with zero errors detected"    @@\
  2407.     @$(ECHO) "=================================================="    @@\
  2408.     @$(SEARCH) $(NOCASE) "detected" d1##$(TESTRUN)            @@\
  2409.     @$(SEARCH) $(NOCASE) "detected" d2##$(TESTRUN)            @@\
  2410.     @$(SEARCH) $(NOCASE) "detected" d3##$(TESTRUN)            @@\
  2411.     @$(SEARCH) $(NOCASE) "detected" d4##$(TESTRUN)            @@\
  2412.     @$(SEARCH) $(NOCASE) "detected" d5##$(TESTRUN)            @@\
  2413.     @$(SEARCH) $(NOCASE) "detected" d6##$(TESTRUN)            @@\
  2414.     @$(SEARCH) $(NOCASE) "detected" d7##$(TESTRUN)            @@\
  2415.     @$(SEARCH) $(NOCASE) "detected" d8##$(TESTRUN)            @@\
  2416.     @$(SEARCH) $(NOCASE) "detected" d9##$(TESTRUN)            @@\
  2417.     @$(SEARCH) $(NOCASE) "detected" d10##$(TESTRUN)            @@\
  2418.     @$(SEARCH) $(NOCASE) "detected" d11##$(TESTRUN)            @@\
  2419.     @$(SEARCH) $(NOCASE) "detected" d12##$(TESTRUN)            @@\
  2420.     @$(SEARCH) $(NOCASE) "detected" d13##$(TESTRUN)            @@\
  2421.     @$(SEARCH) $(NOCASE) "detected" d14##$(TESTRUN)            @@\
  2422.     @$(SEARCH) $(NOCASE) "detected" d15##$(TESTRUN)            @@\
  2423.     @$(SEARCH) $(NOCASE) "detected" d16##$(TESTRUN)            @@\
  2424.     @$(SEARCH) $(NOCASE) "detected" d17##$(TESTRUN)            @@\
  2425.     @$(SEARCH) $(NOCASE) "detected" d18##$(TESTRUN)            @@\
  2426.     @$(SEARCH) $(NOCASE) "detected" d19##$(TESTRUN)            @@\
  2427.     @$(SEARCH) $(NOCASE) "detected" d20##$(TESTRUN)            @@\
  2428.     @$(SEARCH) $(NOCASE) "detected" d21##$(TESTRUN)            @@\
  2429.     @$(SEARCH) $(NOCASE) "detected" d22##$(TESTRUN)            @@\
  2430.     @$(SEARCH) $(NOCASE) "detected" d23##$(TESTRUN)            @@\
  2431.     @$(SEARCH) $(NOCASE) "detected" d24##$(TESTRUN)            @@\
  2432.                                     @@\
  2433. RCSCheckOut()                                @@\
  2434.  
  2435. #endif
  2436.  
  2437. /*
  2438.  * RCSCheckOut - generate rules to build source files from RCS version 
  2439.  */
  2440.  
  2441. #ifndef MiscCheckOut
  2442. #define MiscCheckOut()                            @@\
  2443. miscrcs :: $(MISCFILES)                            @@\
  2444.  
  2445. #endif
  2446.  
  2447. #ifndef ForceCheckOut
  2448. #define ForceCheckOut()                            @@\
  2449. forcecheckout ::                             @@\
  2450.     $(GET) $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(MISCFILES)    @@\
  2451.  
  2452. #endif
  2453.  
  2454. #ifndef LockCheckOut
  2455. #define LockCheckOut()                            @@\
  2456. lockcheckout ::                             @@\
  2457.     $(LOCK) $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(MISCFILES)    @@\
  2458.  
  2459. #endif
  2460.  
  2461. #ifndef RCSCheckOut
  2462. #define RCSCheckOut()                            @@\
  2463. ForceCheckOut()                                @@\
  2464. LockCheckOut()                                @@\
  2465. LocalCheckOut()                                @@\
  2466. checkout :: $(SRCS) $(HDRS) $(YACCSRC) $(LEXSRC) $(MISCFILES)        @@\
  2467.                                     @@\
  2468. RevUp()
  2469. #endif
  2470.  
  2471. #ifndef LocalCheckOut
  2472. #define LocalCheckOut()                            @@\
  2473. localcheckout :: $(SRCS) $(HDRS) $(YACCSRC) $(LEXSRC) $(MISCFILES)    @@\
  2474.  
  2475. #endif
  2476.  
  2477. /*
  2478.  * LinkIncludes - generate rules to link header files to include directory
  2479.  */
  2480. #ifndef LinkIncludes
  2481. #define LinkIncludes()                            @@\
  2482. includes :: $(HDRS)                            @@\
  2483.     for i in $? ;\                            @@\
  2484.     do \                                @@\
  2485.         $(RM) PrefixDirName($(INCDIR))##$$i; \            @@\
  2486.         $(LN) $$i PrefixDirName($(INCDIR)); \            @@\
  2487.     done
  2488. #endif
  2489.  
  2490.  
  2491. /*
  2492.  * NormalCObject - generate rules to build "normal" C object files
  2493.  */
  2494. #ifndef NormalCObject
  2495. #define    NormalCObject()                            @@\
  2496. .c.$(OBJ) :                                @@\
  2497.     $(CC) $(NOLINK) $(CFLAGS) $*.c
  2498. #endif
  2499.  
  2500.  
  2501. /*
  2502.  * NormalCPlusObject - generate rules to build "normal" C++ object files
  2503.  */
  2504. #ifndef NormalCPlusObject
  2505. #define NormalCPlusObject()                        @@\
  2506. .$(CXX).$(OBJ) :                            @@\
  2507.     $(CPLUS) $(NOLINK) $(CPLUSFLAGS) $*.$(CXX)            @@\
  2508.     - $(RM) $*.$(CII)
  2509. #endif
  2510.  
  2511. /*
  2512.  * DebugCObject - generate rules to build "debug" C object files
  2513.  */
  2514. #ifndef DebugCObject
  2515. #define DebugCObject()                            @@\
  2516. .c.$(OBJ) :                                @@\
  2517.     $(CC) $(NOLINK) $(CFLAGS_DEBUG) $*.c
  2518. #endif
  2519.  
  2520.  
  2521. /*
  2522.  * DebugCPlusObject - generate rules to build "debug" C++ object files
  2523.  */
  2524. #ifndef DebugCPlusObject
  2525. #define DebugCPlusObject()                        @@\
  2526. .$(CXX).$(OBJ) :                            @@\
  2527.     $(CPLUS) $(NOLINK) $(CPLUSFLAGS_DEBUG) $*.$(CXX)        @@\
  2528.     - $(RM) $*.$(CII)
  2529. #endif
  2530.  
  2531. /*
  2532.  * TestCObject - generate rules to build "test" C object files
  2533.  */
  2534. #ifndef TestCObject
  2535. #define TestCObject()                            @@\
  2536. .c.$(OBJ) :                                @@\
  2537.     $(CC) $(NOLINK) $(CFLAGS_DEBUG) $*.c
  2538. #endif
  2539.  
  2540.  
  2541. /*
  2542.  * TestCPlusObject - generate rules to build "test" C++ object files
  2543.  */
  2544. #ifndef TestCPlusObject
  2545. #define TestCPlusObject()                        @@\
  2546. .$(CXX).$(OBJ) :                            @@\
  2547.     $(CPLUS) $(NOLINK) $(CPLUSFLAGS_DEBUG) $*.$(CXX)        @@\
  2548.     - $(RM) $*.$(CII)
  2549. #endif
  2550.  
  2551. /*
  2552.  * OptimizeCObject - generate rules to build "optimized"C object files
  2553.  */
  2554. #ifndef OptimizeCObject
  2555. #define OptimizeCObject()                        @@\
  2556. .c.$(OBJ) :                                @@\
  2557.     $(CC) $(NOLINK) $(C_OPTIMIZE) $(CFLAGS) $*.c
  2558. #endif
  2559.  
  2560.  
  2561. /*
  2562.  * OptimizeCPlusObject - generate rules to build optimized C++ object files
  2563.  */
  2564. #ifndef OptimizeCPlusObject
  2565. #define OptimizeCPlusObject()                        @@\
  2566. .$(CXX).$(OBJ) :                            @@\
  2567.     $(CPLUS) $(NOLINK) $(CPLUS_OPTIMIZE) $(CPLUSFLAGS) $*.$(CXX)    @@\
  2568.     - $(RM) $*.$(CII)
  2569. #endif
  2570.  
  2571.  
  2572. /*
  2573.  * LibraryName - Create true library name by prefixing with library directory
  2574.  *               and name prefix characters and appending library suffix
  2575.  */
  2576. #ifndef LibraryName
  2577. #define LibraryName(name)\
  2578. PrefixDirName($(LIBDIR))##$(LIBPRE)##name##$(LIBSUF)
  2579. #endif
  2580.  
  2581.  
  2582. #ifndef QuoteName
  2583. #define QuoteName(name)\
  2584. \"name\"
  2585. #endif
  2586.  
  2587. /*
  2588.  * VersionName - Create name of RCS version directory
  2589.  */
  2590. #ifndef VersionName
  2591. #define VersionName()\
  2592. DirName($(VERSION)##$(CURVER))
  2593. #endif
  2594.  
  2595. #ifndef PrevVersionName
  2596. #define PrevVersionName()\
  2597. DirName($(VERSION)##$(PREV))
  2598. #endif
  2599.  
  2600. /*
  2601.  * InstallProgram - generate rules to install an executable program using any
  2602.  * special install flags set in $(INSTALLFLAGS).
  2603.  */
  2604. #ifndef InstallProgram
  2605. #define    InstallProgram(program,dest)                    @@\
  2606. SystemSpecificFinalize(program)                        @@\
  2607.                                     @@\
  2608. install :: program##$(EXE) sys_spec                    @@\
  2609.     $(INSTALL) $(INSTPGMFLAGS) program##$(EXE) dest
  2610. #endif 
  2611.  
  2612. #ifndef AllInstall
  2613. #define    AllInstall()                            @@\
  2614. all :: install
  2615. #endif
  2616.  
  2617. /*
  2618.  * Clobber - generate rules to remove any garbage files
  2619.  */
  2620. #ifndef Clobber
  2621. #define    Clobber()                            @@\
  2622. clobber ::                                @@\
  2623.     - $(RM) FilesToClean
  2624. #endif
  2625.  
  2626.  
  2627. #ifndef RemoveProgram
  2628. #define RemoveProgram(program)\
  2629. - $(RM) program##$(EXE)
  2630. #endif
  2631.  
  2632. #ifndef ClobberLibrary
  2633. #define ClobberLibrary(archive)                        @@\
  2634. clobber ::                                @@\
  2635.     - $(RM) LibraryName(archive)
  2636. #endif
  2637.  
  2638. #ifndef Clean
  2639. #define Clean(files)                            @@\
  2640. localclean ::                                @@\
  2641.     - $(RM) files                            @@\
  2642.                                     @@\
  2643. clean ::                                @@\
  2644.     - $(RM) files
  2645. #endif
  2646.  
  2647. #ifndef FastCompile
  2648. #define FastCompile()                            @@\
  2649. fast :: $(HDRS) $(SRCS)                            @@\
  2650.     $(MAKE) all LIBRARY="$(FASTLIBRARY)" CPLUSFLAGS="$(CPLUS_OPTIMIZE) \
  2651. $(CPLUSFLAGS)" CPLUSFLAGS_DEBUG="$(CPLUS_OPTIMIZE) $(CPLUSFLAGS)" \
  2652. CFLAGS="$(C_OPTIMIZE) $(CFLAGS)" CFLAGS_DEBUG="$(C_OPTIMIZE) $(CFLAGS)"
  2653. #endif
  2654.  
  2655.  
  2656. /*
  2657.  * LexScanner - generate a scanner from a lex file
  2658.  */
  2659. #ifndef CLexScanner
  2660. #define CLexScanner(scanner)                        @@\
  2661. LEXPRG = scanner.c                            @@\
  2662. LEXPRG2 = -X##scanner.c                            @@\
  2663.                                     @@\
  2664. scanner.l : $(LEXSRC)                            @@\
  2665.     $(CONCAT) $(LEXSRC) $(CONCATOP) scanner.l            @@\
  2666.                                     @@\
  2667. scanner.c : scanner.l $(YACCSRC)                    @@\
  2668.     - $(RM) scanner.c                        @@\
  2669.     $(LEX) $(LEXFLAGS) scanner.l                    @@\
  2670.     $(MV) lex_yy.c scanner.c                    @@\
  2671.                                     @@\
  2672. scanner.$(OBJ) : scanner.c scanner.l                    @@\
  2673.     - $(RM) scanner.$(OBJ)                        @@\
  2674.     $(CC) $(NOLINK) $(CFLAGS) $(YACCLEX) scanner.c             @@\
  2675.  
  2676. #endif
  2677.  
  2678. #ifndef CPlusLexScanner
  2679. #define CPlusLexScanner(scanner)                    @@\
  2680. LEXPRG = scanner.$(CXX)                            @@\
  2681. LEXPRG2 = -X##scanner.$(CXX)                        @@\
  2682.                                     @@\
  2683. scanner.l : $(LEXSRC)                            @@\
  2684.     $(CONCAT) $(LEXSRC) $(CONCATOP) scanner.l            @@\
  2685.                                     @@\
  2686. scanner.$(CXX) : scanner.l $(YACCSRC)                    @@\
  2687.     - $(RM) scanner.$(CXX)                        @@\
  2688.     $(LEX) $(LEXFLAGS) scanner.l                    @@\
  2689.     $(MV) lex_yy.c scanner.$(CXX)                    @@\
  2690.                                     @@\
  2691. scanner.$(OBJ) : scanner.$(CXX) scanner.l                @@\
  2692.     - $(RM) scanner.$(OBJ)                        @@\
  2693.     $(CPLUS) $(NOLINK) $(CPLUSFLAGS) $(YACCLEX) scanner.$(CXX)@@\
  2694.  
  2695. #endif
  2696.  
  2697.  
  2698. #ifndef CDebugLexScanner
  2699. #define CDebugLexScanner(scanner)                    @@\
  2700. LEXPRG = scanner.c                            @@\
  2701. LEXPRG2 = -X##scanner.c                            @@\
  2702.                                     @@\
  2703. scanner.l : $(LEXSRC)                            @@\
  2704.     $(CONCAT) $(LEXSRC) $(CONCATOP) scanner.l            @@\
  2705.                                     @@\
  2706. scanner.c : scanner.l $(YACCSRC)                    @@\
  2707.     - $(RM) scanner.c                        @@\
  2708.     $(LEX) $(LEXFLAGS) scanner.l                    @@\
  2709.     $(MV) lex_yy.c scanner.c                    @@\
  2710.                                     @@\
  2711. scanner.$(OBJ) : scanner.c scanner.l                    @@\
  2712.     - $(RM) scanner.$(OBJ)                        @@\
  2713.     $(CC) $(NOLINK) $(CFLAGS_DEBUG) $(YACCLEX) scanner.c        @@\
  2714.  
  2715. #endif
  2716.  
  2717. #ifndef CPlusDebugLexScanner
  2718. #define CPlusDebugLexScanner(scanner)                    @@\
  2719. LEXPRG = scanner.$(CXX)                            @@\
  2720. LEXPRG2 = -X##scanner.$(CXX)                        @@\
  2721.                                     @@\
  2722. scanner.l : $(LEXSRC)                            @@\
  2723.     $(CONCAT) $(LEXSRC) $(CONCATOP) scanner.l            @@\
  2724.                                     @@\
  2725. scanner.$(CXX) : scanner.l $(YACCSRC)                    @@\
  2726.     - $(RM) scanner.$(CXX)                        @@\
  2727.     $(LEX) $(LEXFLAGS) scanner.l                    @@\
  2728.     $(MV) lex_yy.c scanner.$(CXX)                    @@\
  2729.                                     @@\
  2730. scanner.$(OBJ) : scanner.$(CXX) scanner.l                @@\
  2731.     - $(RM) scanner.$(OBJ)                        @@\
  2732.     $(CPLUS) $(NOLINK) $(CPLUSFLAGS_DEBUG) $(YACCLEX) scanner.$(CXX)@@\
  2733.  
  2734. #endif
  2735.  
  2736.  
  2737. /*
  2738.  * YaccParser - generate a parser from a yacc grammar
  2739.  */
  2740. #ifndef CPlusYaccParser
  2741. #define CPlusYaccParser(parser)                        @@\
  2742. YACCPRG = parser.$(CXX)                            @@\
  2743. YACCPRG2 = -X##parser.$(CXX)                        @@\
  2744.                                     @@\
  2745. parser.y : $(YACCSRC)                            @@\
  2746.     $(CONCAT) $(YACCSRC) $(CONCATOP) parser.y            @@\
  2747.                                     @@\
  2748. parser.$(CXX) parser.h : parser.y                    @@\
  2749.     - $(RM) parser.$(CXX) parser.h                    @@\
  2750.     $(YACC) $(YACCFLAGS) parser.y                    @@\
  2751.     $(MV) y_tab.h parser.h                        @@\
  2752.     $(MV) y_tab.c parser.$(CXX)                    @@\
  2753.                                     @@\
  2754. parser.$(OBJ) : parser.$(CXX) parser.y                    @@\
  2755.     - $(RM) parser.$(OBJ)                        @@\
  2756.     $(CPLUS) $(NOLINK) $(CPLUSFLAGS) $(YACCLEX) parser.$(CXX)    @@\
  2757.  
  2758. #endif
  2759.  
  2760. #ifndef CYaccParser
  2761. #define CYaccParser(parser)                        @@\
  2762. YACCPRG = parser.c                            @@\
  2763. YACCPRG2 = -X##parser.c                            @@\
  2764.                                     @@\
  2765. parser.y : $(YACCSRC)                            @@\
  2766.     $(CONCAT) $(YACCSRC) $(CONCATOP) parser.y            @@\
  2767.                                     @@\
  2768. parser.c parser.h : parser.y                        @@\
  2769.     - $(RM) parser.c parser.h                    @@\
  2770.     $(YACC) $(YACCFLAGS) parser.y                    @@\
  2771.     $(MV) y_tab.h parser.h                        @@\
  2772.     $(MV) y_tab.c parser.c                        @@\
  2773.                                     @@\
  2774. parser.$(OBJ) : parser.c parser.y                    @@\
  2775.     - $(RM) parser.$(OBJ)                        @@\
  2776.     $(CC) $(NOLINK) $(CFLAGS) $(YACCLEX) parser.c             @@\
  2777.  
  2778. #endif
  2779.  
  2780.  
  2781. #ifndef CPlusDebugYaccParser
  2782. #define CPlusDebugYaccParser(parser)                    @@\
  2783. YACCPRG = parser.$(CXX)                            @@\
  2784. YACCPRG2 = -X##parser.$(CXX)                        @@\
  2785.                                     @@\
  2786. parser.y : $(YACCSRC)                            @@\
  2787.     $(CONCAT) $(YACCSRC) $(CONCATOP) parser.y            @@\
  2788.                                     @@\
  2789. parser.$(CXX) parser.h : parser.y                    @@\
  2790.     - $(RM) parser.$(CXX) parser.h                    @@\
  2791.     $(YACC) $(YACCFLAGS) parser.y                    @@\
  2792.     $(MV) y_tab.h parser.h                        @@\
  2793.     $(MV) y_tab.c parser.$(CXX)                    @@\
  2794.                                     @@\
  2795. parser.$(OBJ) : parser.$(CXX) parser.y                    @@\
  2796.     - $(RM) parser.$(OBJ)                        @@\
  2797.     $(CPLUS) $(NOLINK) $(CPLUSFLAGS_DEBUG) $(YACCLEX) parser.$(CXX)    @@\
  2798.  
  2799. #endif
  2800.  
  2801. #ifndef CDebugYaccParser
  2802. #define CDebugYaccParser(parser)                    @@\
  2803. YACCPRG = parser.c                            @@\
  2804. YACCPRG2 = -X##parser.c                            @@\
  2805.                                     @@\
  2806. parser.y : $(YACCSRC)                            @@\
  2807.     $(CONCAT) $(YACCSRC) $(CONCATOP) parser.y            @@\
  2808.                                     @@\
  2809. parser.c parser.h : parser.y                        @@\
  2810.     - $(RM) parser.c parser.h                    @@\
  2811.     $(YACC) $(YACCFLAGS) parser.y                    @@\
  2812.     $(MV) y_tab.h parser.h                        @@\
  2813.     $(MV) y_tab.c parser.c                        @@\
  2814.                                     @@\
  2815. parser.$(OBJ) : parser.c parser.y                    @@\
  2816.     - $(RM) parser.$(OBJ)                        @@\
  2817.     $(CC) $(NOLINK) $(CFLAGS_DEBUG) $(YACCLEX) parser.c         @@\
  2818.  
  2819. #endif
  2820.  
  2821.  
  2822. #ifndef AuxillaryCProgram
  2823. #define AuxillaryCProgram(program)                    @@\
  2824. program##$(EXE) :: program.$(OBJ)                    @@\
  2825.     RemoveProgram(program)                        @@\
  2826.     $(CC) $(PROGNAME) $@ program.$(OBJ) $(ALLCLIBDIRS) $(ALLCLIBS) $(C_LDFLAGS)
  2827. #endif
  2828.  
  2829. #ifndef AuxillaryCPlusProgram
  2830. #define AuxillaryCPlusProgram(program)                    @@\
  2831. program##$(EXE) :: program.$(OBJ)                    @@\
  2832.     RemoveProgram(program)                        @@\
  2833.     $(CPLUS) $(PROGNAME) $@ program.$(OBJ) $(ALLCPLUSLIBDIRS) $(ALLCPLUSLIBS) $(CPLUS_LDFLAGS)
  2834. #endif
  2835.  
  2836. /*
  2837.  * CProgram - generate rules for compiling and linking the C
  2838.  * program specified by $(OBJS) and $(SRCS), installing the program, and
  2839.  * generating dependencies.  It should only be used in Imakefiles that
  2840.  * describe a single program.
  2841.  */
  2842. #ifndef CProgram
  2843. #define    CProgram(program)                        @@\
  2844. program##$(EXE) :: $(OBJS)                        @@\
  2845.     RemoveProgram(program)                        @@\
  2846.     $(CC) $(PROGNAME) $@ $(OBJS) $(ALLCLIBDIRS) $(ALLCLIBS) $(C_LDFLAGS) @@\
  2847.                                     @@\
  2848. InstallProgram(program,DirName($(BINDIR)))                @@\
  2849.                                     @@\
  2850. Clean($(OBJS))                                @@\
  2851.     RemoveProgram(program)                        @@\
  2852.  
  2853. #endif 
  2854.  
  2855. #ifndef CProgram1
  2856. #define CProgram1(program)                        @@\
  2857. program##$(EXE) :: $(OBJS1)                        @@\
  2858.     RemoveProgram(program)                        @@\
  2859.     $(CC) $(PROGNAME) $@ $(OBJS1) $(ALLCLIBDIRS) $(ALLCLIBS) $(C_LDFLAGS)@@\
  2860.                                     @@\
  2861. InstallProgram(program,DirName($(BINDIR)))                @@\
  2862.                                     @@\
  2863. Clean($(OBJS))                                @@\
  2864.     RemoveProgram(program)                        @@\
  2865.  
  2866. #endif
  2867.  
  2868. #ifndef CProgram_n
  2869. #define CProgram_n(n,program)                        @@\
  2870. program##$(EXE) :: $(OBJS##n)                        @@\
  2871.     RemoveProgram(program)                        @@\
  2872.     $(CC) $(PROGNAME) $@ $(OBJS##n) $(ALLCLIBDIRS) $(ALLCLIBS) $(C_LDFLAGS)@@\
  2873.                                     @@\
  2874. InstallProgram(program,DirName($(BINDIR)))                @@\
  2875.                                     @@\
  2876. Clean($(OBJS))                                @@\
  2877.     RemoveProgram(program)                        @@\
  2878.  
  2879. #endif
  2880.  
  2881. #ifndef CProgram2
  2882. #define CProgram2(program) CProgram_n(2,program)
  2883. #endif
  2884.  
  2885. #ifndef CProgram3
  2886. #define CProgram3(program) CProgram_n(3,program)
  2887. #endif
  2888.  
  2889. #ifndef CProgram4
  2890. #define CProgram4(program) CProgram_n(4,program)
  2891. #endif
  2892.  
  2893. #ifndef CProgram5
  2894. #define CProgram5(program) CProgram_n(5,program)
  2895. #endif
  2896.  
  2897. #ifndef CProgram6
  2898. #define CProgram6(program) CProgram_n(6,program)
  2899. #endif
  2900.  
  2901. #ifndef CProgram7
  2902. #define CProgram7(program) CProgram_n(7,program)
  2903. #endif
  2904.  
  2905. #ifndef CProgram8
  2906. #define CProgram8(program) CProgram_n(8,program)
  2907. #endif
  2908.  
  2909. #ifndef CProgram9
  2910. #define CProgram9(program) CProgram_n(9,program)
  2911. #endif
  2912.  
  2913. #ifndef CProgram10
  2914. #define CProgram10(program) CProgram_n(10,program)
  2915. #endif
  2916.  
  2917. #ifndef CProgram11
  2918. #define CProgram11(program) CProgram_n(11,program)
  2919. #endif
  2920.  
  2921. #ifndef CProgram12
  2922. #define CProgram12(program) CProgram_n(12,program)
  2923. #endif
  2924.  
  2925. #ifndef CProgram13
  2926. #define CProgram13(program) CProgram_n(13,program)
  2927. #endif
  2928.  
  2929. #ifndef CProgram14
  2930. #define CProgram14(program) CProgram_n(14,program)
  2931. #endif
  2932.  
  2933. #ifndef CProgram15
  2934. #define CProgram15(program) CProgram_n(15,program)
  2935. #endif
  2936.  
  2937. #ifndef CProgram16
  2938. #define CProgram16(program) CProgram_n(16,program)
  2939. #endif
  2940.  
  2941. #ifndef CProgram17
  2942. #define CProgram17(program) CProgram_n(17,program)
  2943. #endif
  2944.  
  2945. #ifndef CProgram18
  2946. #define CProgram18(program) CProgram_n(18,program)
  2947. #endif
  2948.  
  2949. #ifndef CProgram19
  2950. #define CProgram19(program) CProgram_n(19,program)
  2951. #endif
  2952.  
  2953. #ifndef CProgram20
  2954. #define CProgram20(program) CProgram_n(20,program)
  2955. #endif
  2956.  
  2957. #ifndef CProgram21
  2958. #define CProgram21(program) CProgram_n(21,program)
  2959. #endif
  2960.  
  2961. #ifndef CProgram22
  2962. #define CProgram22(program) CProgram_n(22,program)
  2963. #endif
  2964.  
  2965. #ifndef CProgram23
  2966. #define CProgram23(program) CProgram_n(23,program)
  2967. #endif
  2968.  
  2969. #ifndef CProgram24
  2970. #define CProgram24(program) CProgram_n(24,program)
  2971. #endif
  2972.  
  2973. /*
  2974.  * CPlusProgram - generate rules for compiling and linking the
  2975.  * C++ program specified by $(OBJS) and $(SRCS), installing the program, and
  2976.  * generating dependencies.  It should only be used in Imakefiles that
  2977.  * describe a single program.
  2978.  */
  2979. #ifndef CPlusProgram
  2980. #define    CPlusProgram(program)                        @@\
  2981. program##$(EXE) :: $(OBJS)                        @@\
  2982.     RemoveProgram(program)                        @@\
  2983.     $(CPLUS) $(PROGNAME) $@ $(OBJS) $(ALLCPLUSLIBDIRS) $(ALLCPLUSLIBS) $(CPLUS_LDFLAGS) @@\
  2984.                                     @@\
  2985. InstallProgram(program,DirName($(BINDIR)))                @@\
  2986.                                     @@\
  2987. Clean($(OBJS))                                @@\
  2988.     RemoveProgram(program)                        @@\
  2989.  
  2990. #endif 
  2991.  
  2992. #ifndef CPlusProgram1
  2993. #define    CPlusProgram1(program)                        @@\
  2994. program##$(EXE) :: $(OBJS1)                        @@\
  2995.     RemoveProgram(program)                        @@\
  2996.     $(CPLUS) $(PROGNAME) $@ $(OBJS1) $(ALLCPLUSLIBDIRS) $(ALLCPLUSLIBS) $(CPLUS_LDFLAGS) @@\
  2997.                                     @@\
  2998. InstallProgram(program,DirName($(BINDIR)))                @@\
  2999.                                     @@\
  3000. Clean($(OBJS))                                @@\
  3001.     RemoveProgram(program)                        @@\
  3002.  
  3003. #endif 
  3004.  
  3005. #ifndef CPlusProgram_n
  3006. #define CPlusProgram_n(n,program)                    @@\
  3007. program##$(EXE) :: $(OBJS##n)                        @@\
  3008.     RemoveProgram(program)                        @@\
  3009.     $(CPLUS) $(PROGNAME) $@ $(OBJS##n) $(ALLCPLUSLIBDIRS) $(ALLCPLUSLIBS) $(CPLUS_LDFLAGS) @@\
  3010.                                     @@\
  3011. InstallProgram(program,DirName($(BINDIR)))                @@\
  3012.                                     @@\
  3013. Clean($(OBJS))                                @@\
  3014.     RemoveProgram(program)                        @@\
  3015.  
  3016. #endif
  3017.  
  3018. #ifndef CPlusProgram2
  3019. #define CPlusProgram2(program) CPlusProgram_n(2,program)
  3020. #endif
  3021.  
  3022. #ifndef CPlusProgram3
  3023. #define CPlusProgram3(program) CPlusProgram_n(3,program)
  3024. #endif
  3025.  
  3026. #ifndef CPlusProgram4
  3027. #define CPlusProgram4(program) CPlusProgram_n(4,program)
  3028. #endif
  3029.  
  3030. #ifndef CPlusProgram5
  3031. #define CPlusProgram5(program) CPlusProgram_n(5,program)
  3032. #endif
  3033.  
  3034. #ifndef CPlusProgram6
  3035. #define CPlusProgram6(program) CPlusProgram_n(6,program)
  3036. #endif
  3037.  
  3038. #ifndef CPlusProgram7
  3039. #define CPlusProgram7(program) CPlusProgram_n(7,program)
  3040. #endif
  3041.  
  3042. #ifndef CPlusProgram8
  3043. #define CPlusProgram8(program) CPlusProgram_n(8,program)
  3044. #endif
  3045.  
  3046. #ifndef CPlusProgram9
  3047. #define CPlusProgram9(program) CPlusProgram_n(9,program)
  3048. #endif
  3049.  
  3050. #ifndef CPlusProgram10
  3051. #define CPlusProgram10(program) CPlusProgram_n(10,program)
  3052. #endif
  3053.  
  3054. #ifndef CPlusProgram11
  3055. #define CPlusProgram11(program) CPlusProgram_n(11,program)
  3056. #endif
  3057.  
  3058. #ifndef CPlusProgram12
  3059. #define CPlusProgram12(program) CPlusProgram_n(12,program)
  3060. #endif
  3061.  
  3062. #ifndef CPlusProgram13
  3063. #define CPlusProgram13(program) CPlusProgram_n(13,program)
  3064. #endif
  3065.  
  3066. #ifndef CPlusProgram14
  3067. #define CPlusProgram14(program) CPlusProgram_n(14,program)
  3068. #endif
  3069.  
  3070. #ifndef CPlusProgram15
  3071. #define CPlusProgram15(program) CPlusProgram_n(15,program)
  3072. #endif
  3073.  
  3074. #ifndef CPlusProgram16
  3075. #define CPlusProgram16(program) CPlusProgram_n(16,program)
  3076. #endif
  3077.  
  3078. #ifndef CPlusProgram17
  3079. #define CPlusProgram17(program) CPlusProgram_n(17,program)
  3080. #endif
  3081.  
  3082. #ifndef CPlusProgram18
  3083. #define CPlusProgram18(program) CPlusProgram_n(18,program)
  3084. #endif
  3085.  
  3086. #ifndef CPlusProgram19
  3087. #define CPlusProgram19(program) CPlusProgram_n(19,program)
  3088. #endif
  3089.  
  3090. #ifndef CPlusProgram20
  3091. #define CPlusProgram20(program) CPlusProgram_n(20,program)
  3092. #endif
  3093.  
  3094. #ifndef CPlusProgram21
  3095. #define CPlusProgram21(program) CPlusProgram_n(21,program)
  3096. #endif
  3097.  
  3098. #ifndef CPlusProgram22
  3099. #define CPlusProgram22(program) CPlusProgram_n(22,program)
  3100. #endif
  3101.  
  3102. #ifndef CPlusProgram23
  3103. #define CPlusProgram23(program) CPlusProgram_n(23,program)
  3104. #endif
  3105.  
  3106. #ifndef CPlusProgram24
  3107. #define CPlusProgram24(program) CPlusProgram_n(24,program)
  3108. #endif
  3109.  
  3110. /*
  3111.  * Library - generate rules to update a library archive
  3112.  */
  3113. #ifndef Library
  3114. #define Library(archive,objlist)                    @@\
  3115. archive :: LibraryName(archive)                        @@\
  3116.                                     @@\
  3117. LibraryName(archive) : objlist                        @@\
  3118.     $(AR) $(UPDATE) LibraryName(archive) $?                @@\
  3119.     $(RANLIB) LibraryName(archive)                    @@\
  3120.                                     @@\
  3121. makelib :: objlist                            @@\
  3122.     $(AR) $(ADD) LibraryName(archive) objlist            @@\
  3123.                                     @@\
  3124. FastCompile()                                @@\
  3125.                                     @@\
  3126. Clean($(OBJS))
  3127. #endif
  3128.  
  3129. #ifndef DependCommand
  3130. #define DependCommand()                            @@\
  3131.     $(DEPEND) $(RCSDEP) $(LINKDEP) $(PFLAG)$(PATHSEP) $(ALLCPLUSDEFS) \
  3132. $(ALLCDEFS) $(YACCPRG2) $(LEXPRG2) $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) 
  3133. #endif
  3134.  
  3135. /*
  3136.  * We have to #undef the preprocessor symbols `TOPDIR' and `REV for the
  3137.  * remainder of this file so that macros can be generated that have this
  3138.  * symbol spelled out, that is, not substituted for in the macro.
  3139.  */
  3140.  
  3141. #undef TOPDIR
  3142. #undef REV
  3143.  
  3144. /*
  3145.  * RevUp -- generate rules to save snapshot of source base and revup to
  3146.  *          a new major RCS version
  3147.  */
  3148.  
  3149. #ifndef RevUp
  3150. #define RevUp()                                @@\
  3151. revup :: lockcheckout                            @@\
  3152.     $(MKDIR) VersionName()                        @@\
  3153.     $(PIMAKE) $(DFLAG)$(MACHINE) $(DFLAG)TOPDIR=$(TOP) $(DFLAG)REV=$(NEXT) \
  3154. $(IFLAG)$(CONFIG) \
  3155.     DependCommand()                            @@\
  3156.     $(CP) Imakefile Makefile $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(MISCFILES) VersionName()    @@\
  3157.     $(REVUP) $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(MISCFILES)    @@\
  3158.     $(PIMAKE) $(DFLAG)$(MACHINE) $(DFLAG)TOPDIR=$(TOP) $(DFLAG)REV=$(NEXT) \
  3159. $(IFLAG)$(CONFIG) @@\
  3160.     $(GET) $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(MISCFILES)    @@\
  3161.     $(MAKE) depend                            @@\
  3162.  
  3163. #endif
  3164.  
  3165. /*
  3166.  * Makefile - generate a new Makefile from an Imakefile
  3167.  */
  3168. #ifndef MakefileT
  3169. #define MakefileT()                            @@\
  3170. makefile ::                                @@\
  3171.     $(PIMAKE) $(DFLAG)$(MACHINE) $(DFLAG)TOPDIR=DirName($(TOP)) \
  3172. $(DFLAG)REV=$(CURVER) $(IFLAG)DirName($(CONFIG))            @@\
  3173.     $(MAKE) depend                            @@\
  3174.                                     @@\
  3175. mk_only ::                                @@\
  3176.     $(PIMAKE) $(DFLAG)$(MACHINE) $(DFLAG)TOPDIR=DirName($(TOP)) \
  3177. $(DFLAG)REV=$(CURVER) $(IFLAG)DirName($(CONFIG))            @@\
  3178.                                     @@\
  3179. depend :: $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC) $(YACCPRG) $(LEXPRG)    \
  3180.     DependCommand()                            @@\
  3181.  
  3182. #endif
  3183.  
  3184. #ifndef TopLevelBootStrap
  3185. #define TopLevelBootStrap()                        @@\
  3186. bootstrap ::                                @@\
  3187.     $(MAKE) includes                        @@\
  3188.  
  3189. #endif
  3190.  
  3191.  
  3192. #ifndef MakefileSubdirs
  3193. #define MakefileSubdirs()                        @@\
  3194. makefiles ::                                @@\
  3195.      $(MAKE) TARGET=mk_only $(SUBDIRS)                @@\
  3196.     $(MAKE) TARGET=checkout $(SUBDIRS)                @@\
  3197.     $(MAKE) TARGET=depends $(SUBDIRS)
  3198. #endif 
  3199.  
  3200.  
  3201. #ifndef AllSubdirs
  3202. #define AllSubdirs()                             @@\
  3203. all ::                                    @@\
  3204.     $(MAKE) TARGET=all $(SUBDIRS)
  3205. #endif
  3206.  
  3207.  
  3208. /*
  3209.  * BootstrapSubdirs - generate rules to recursively bootstrap subdirectories
  3210.  */
  3211.  
  3212. #ifndef BootstrapSubdirs
  3213. #define BootstrapSubdirs()                         @@\
  3214. bootstrap ::                                @@\
  3215.     @for i in $(SUBDIRS) ; \                    @@\
  3216.     do \                                @@\
  3217.         $(ECHO) "$(CD) $$i"; \                    @@\
  3218.         $(ECHO) "$(PIMAKE) $(DFLAG)$(MACHINE) $(DFLAG)TOPDIR=DirName($(TOP)) $(DFLAG)REV=$(CURVER) $(IFLAG)DirName($(CONFIG))"; \        @@\
  3219.         ( $(CD) $$i; \                        @@\
  3220.           $(PIMAKE) $(DFLAG)$(MACHINE) \            @@\
  3221.                 $(DFLAG)TOPDIR=DirName($(TOP)) \        @@\
  3222.                 $(DFLAG)REV=$(CURVER) \            @@\
  3223.                 $(IFLAG)DirName($(CONFIG)) ); \        @@\
  3224.     done;                                @@\
  3225.     $(MAKE) TARGET=bootstrap $(SUBDIRS)                @@\
  3226.     $(MAKE) TARGET=mk_only $(SUBDIRS)
  3227. #endif
  3228.  
  3229. #ifndef IncludeSubdirs
  3230. #define IncludeSubdirs()                         @@\
  3231. includes ::                                @@\
  3232.     $(MAKE) TARGET=includes $(SUBDIRS)
  3233. #endif
  3234.  
  3235.  
  3236. #ifndef CheckoutSubdirs
  3237. #define CheckoutSubdirs()                         @@\
  3238. checkout ::                                @@\
  3239.     $(MAKE) TARGET=checkout $(SUBDIRS)
  3240. #endif
  3241.  
  3242.  
  3243. #ifndef ForceCheckoutSubdirs
  3244. #define ForceCheckoutSubdirs()                         @@\
  3245. forcecheckout ::                            @@\
  3246.     $(MAKE) TARGET=forcecheckout $(SUBDIRS)
  3247. #endif
  3248.  
  3249.  
  3250. #ifndef InstallSubdirs
  3251. #define InstallSubdirs()                         @@\
  3252. install ::                                @@\
  3253.     $(MAKE) TARGET=install $(SUBDIRS)
  3254. #endif
  3255.  
  3256.  
  3257. #ifndef RevupSubdirs
  3258. #define RevupSubdirs()                             @@\
  3259. revup ::                                @@\
  3260.     $(MAKE) TARGET=revup $(SUBDIRS)
  3261. #endif
  3262.  
  3263.  
  3264. #ifndef CleanSubdirs
  3265. #define CleanSubdirs()                             @@\
  3266. clean ::                                @@\
  3267.     $(MAKE) TARGET=clean $(SUBDIRS)
  3268. #endif
  3269.  
  3270.  
  3271. #ifndef FastSubdirs
  3272. #define FastSubdirs()                             @@\
  3273. fast ::                                    @@\
  3274.     $(MAKE) TARGET=fast $(SUBDIRS)
  3275. #endif
  3276.  
  3277.  
  3278. #ifndef ClobberSubdirs
  3279. #define ClobberSubdirs()                         @@\
  3280. clobber ::                                @@\
  3281.     $(MAKE) TARGET=clobber $(SUBDIRS)
  3282. #endif
  3283.  
  3284.  
  3285. #ifndef RunTestSubdirs
  3286. #define RunTestSubdirs()                         @@\
  3287. runtest ::                                @@\
  3288.     $(MAKE) TARGET=runtest $(SUBDIRS)
  3289. #endif
  3290.  
  3291.  
  3292. #ifndef LibSubdirs
  3293. #define LibSubdirs()                             @@\
  3294. makelib ::                                @@\
  3295.     $(MAKE) TARGET=makelib $(SUBDIRS)
  3296. #endif
  3297.  
  3298.  
  3299. #ifndef ResultsSubdirs
  3300. #define ResultsSubdirs()                         @@\
  3301. results ::                                 @@\
  3302.     $(MAKE) TARGET=results $(SUBDIRS)
  3303. #endif
  3304.  
  3305. #ifndef DependSubdirs
  3306. #define DependSubdirs()                         @@\
  3307. depends :: depend                            @@\
  3308.     $(MAKE) TARGET=depends $(SUBDIRS)
  3309. #endif
  3310.  
  3311. #ifndef ImakeOnlySubdirs
  3312. #define ImakeOnlySubdirs()                         @@\
  3313. mk_only ::                                @@\
  3314.     $(MAKE) TARGET=mk_only $(SUBDIRS)
  3315. #endif
  3316.  
  3317. #ifndef SubdirsRule
  3318. #define SubdirsRule()                            @@\
  3319. $(SUBDIRS) : always                            @@\
  3320.     cd $@; $(MAKE) $(TARGET)                    @@\
  3321.                                     @@\
  3322. always :                                @@\
  3323.  
  3324. #endif
  3325.  
  3326.  
  3327. #ifndef ShellProgram
  3328. #define    ShellProgram(programs)                        @@\
  3329. includes::                                  @@\
  3330.     @for i in programs ;\                        @@\
  3331.     do \                                @@\
  3332.       $(ECHO) "$(RM) $(BINDIR)$(PATHSEP)$$i"; \            @@\
  3333.       $(ECHO) "$(CP) $$i.sh $(BINDIR)$(PATHSEP)$$i"; \        @@\
  3334.       $(ECHO) "$(ATTRIB) $(EXECBIT) $(BINDIR)$(PATHSEP)$$i"; \    @@\
  3335.        $(RM) PrefixDirName($(BINDIR))##$$i; \            @@\
  3336.       $(CP) $$i##.sh PrefixDirName($(BINDIR))##$$i; \        @@\
  3337.       $(ATTRIB) $(EXECBIT) PrefixDirName($(BINDIR))##$$i; \     @@\
  3338.     done
  3339. #endif
  3340.